[gtk+/touch-for-3.4] paned: Only look at direct touch devices for now



commit 67245ed83e7bfe9e9bc706ed9d854f67fca8c33c
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 24 14:36:20 2012 -0500

    paned: Only look at direct touch devices for now

 gtk/gtkpaned.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 50bb6c9..732890c 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -1918,7 +1918,7 @@ gtk_paned_captured_event (GtkWidget *widget,
   gdk_event_get_coords (event, &event_x, &event_y);
 
   if (!source_device ||
-      gdk_device_get_source (source_device) != GDK_SOURCE_TOUCH)
+      gdk_device_get_source (source_device) != GDK_SOURCE_DIRECT_TOUCH)
     return FALSE;
 
   switch (event->type)



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