[gnome-settings-daemon/gnome-3-4] mouse: Also handle "cursor" devices



commit 56ab9240bac521f867164c33cafa90cd8eb177ef
Author: Bastien Nocera <hadess hadess net>
Date:   Fri May 25 18:46:53 2012 +0100

    mouse: Also handle "cursor" devices
    
    Those are the mice used on Wacom tablets. We want those handled
    as normal mice.

 plugins/mouse/gsd-mouse-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index 48738b6..e5128ad 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -179,7 +179,8 @@ device_is_ignored (GsdMouseManager *manager,
 
 	source = gdk_device_get_source (device);
 	if (source != GDK_SOURCE_MOUSE &&
-	    source != GDK_SOURCE_TOUCHPAD)
+	    source != GDK_SOURCE_TOUCHPAD &&
+	    source != GDK_SOURCE_CURSOR)
 		return TRUE;
 
 	return FALSE;



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