[gnome-settings-daemon] cursor: Add some debug output



commit a6d9e8efe984ccf7bd205d00fdb6988b55ee30a2
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 2 22:40:29 2012 -0500

    cursor: Add some debug output
    
    This explains why I see a cursor on my tablet.
    The cursor plugin says:
    
    cursor-plugin-DEBUG: Counting 'CHICONY USB Keyboard' as mouse

 plugins/cursor/gsd-cursor-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/cursor/gsd-cursor-manager.c b/plugins/cursor/gsd-cursor-manager.c
index 9e15d72..d3ed2af 100644
--- a/plugins/cursor/gsd-cursor-manager.c
+++ b/plugins/cursor/gsd-cursor-manager.c
@@ -174,6 +174,8 @@ update_cursor_for_current (GsdCursorManager *manager)
                         continue;
                 }
 
+                g_debug ("Counting '%s' as mouse", device_info[i].name);
+
                 num_mice++;
         }
         XFreeDeviceList (device_info);



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