[gtk+/gtk-3-22] GdkX11DeviceManager: Fix debugging output



commit e63748f23186c35c7e70ec5fbd8dff8ed8686ee9
Author: Timm Bäder <mail baedert org>
Date:   Sun Mar 19 14:24:54 2017 +0100

    GdkX11DeviceManager: Fix debugging output
    
    The 2 values added in 3.22 were missing from the source_names array.

 gdk/x11/gdkdevicemanager-xi2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index 078a839..6c941d5 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -474,7 +474,7 @@ create_device (GdkDeviceManager *device_manager,
   GDK_NOTE (INPUT,
             ({
               const gchar *type_names[] = { "master", "slave", "floating" };
-              const gchar *source_names[] = { "mouse", "pen", "eraser", "cursor", "keyboard", "direct 
touch", "indirect touch" };
+              const gchar *source_names[] = { "mouse", "pen", "eraser", "cursor", "keyboard", "direct 
touch", "indirect touch", "trackpoint", "pad" };
               const gchar *mode_names[] = { "disabled", "screen", "window" };
               g_message ("input device:\n\tname: %s\n\ttype: %s\n\tsource: %s\n\tmode: %s\n\thas cursor: 
%d\n\ttouches: %d",
                          dev->name,


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