[clutter/clutter-1.22] gdk: Enable GDK_TOUCH_MASK on the stage window



commit f42075866d171b4677215d26b2382d045ede408d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jun 6 20:11:33 2015 +0200

    gdk: Enable GDK_TOUCH_MASK on the stage window
    
    This allows touch events to be received and translated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750496
    (cherry picked from commit 2105055a347c8a35d091cabe118983f621f26965)
    Signed-off-by: Emmanuele Bassi <ebassi gnome org>

 clutter/gdk/clutter-stage-gdk.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/clutter/gdk/clutter-stage-gdk.h b/clutter/gdk/clutter-stage-gdk.h
index 4004955..721a7aa 100644
--- a/clutter/gdk/clutter-stage-gdk.h
+++ b/clutter/gdk/clutter-stage-gdk.h
@@ -69,6 +69,7 @@ struct _ClutterStageGdkClass
    GDK_BUTTON_PRESS_MASK |          \
    GDK_BUTTON_RELEASE_MASK |        \
    GDK_POINTER_MOTION_MASK |         \
+   GDK_TOUCH_MASK |                  \
    GDK_SCROLL_MASK)
 
 GType _clutter_stage_gdk_get_type (void) G_GNUC_CONST;


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