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
This commit is contained in:
Carlos Garnacho 2015-06-06 20:11:33 +02:00 committed by Emmanuele Bassi
parent 7ed3714a94
commit 2105055a34

View File

@ -69,6 +69,7 @@ struct _ClutterStageGdkClass
GDK_BUTTON_PRESS_MASK | \ GDK_BUTTON_PRESS_MASK | \
GDK_BUTTON_RELEASE_MASK | \ GDK_BUTTON_RELEASE_MASK | \
GDK_POINTER_MOTION_MASK | \ GDK_POINTER_MOTION_MASK | \
GDK_TOUCH_MASK | \
GDK_SCROLL_MASK) GDK_SCROLL_MASK)
GType _clutter_stage_gdk_get_type (void) G_GNUC_CONST; GType _clutter_stage_gdk_get_type (void) G_GNUC_CONST;