[gnome-settings-daemon] wacom: Force touchpads to use relative mode



commit 5dd89a267e7c539e681851017b18261dc2e092f0
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 23 11:01:38 2012 +0100

    wacom: Force touchpads to use relative mode
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670655

 plugins/wacom/gsd-wacom-manager.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index e6bd680..56636e1 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -489,6 +489,11 @@ set_wacom_settings (GsdWacomManager *manager,
 
         type = gsd_wacom_device_get_device_type (device);
 
+	if (type == WACOM_TYPE_TOUCH) {
+		set_absolute (device, FALSE);
+		return;
+	}
+
 	if (type == WACOM_TYPE_CURSOR) {
 		GVariant *values[4], *variant;
 		guint i;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]