diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-08-04 19:17:21 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-08-23 21:01:44 +0200 |
commit | 3a6d0ff2ab05c66f18fd1aa740029976b30ac1bc (patch) | |
tree | 5cbd9a37e171d99c7c91ac12fa48fca4d37aefc6 /gtk/gtkmain.c | |
parent | b8a77d4da310556014b06cf34cca2e9592da63fd (diff) | |
download | gtk+-3a6d0ff2ab05c66f18fd1aa740029976b30ac1bc.tar.gz |
gtk: Add minimal handling of pad events
No real handling is yet performed, to be done through a GdkEventController
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r-- | gtk/gtkmain.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index d0d91efdd6..ad6ed506a4 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -1875,6 +1875,11 @@ gtk_main_do_event (GdkEvent *event) case GDK_TOUCH_CANCEL: case GDK_TOUCHPAD_SWIPE: case GDK_TOUCHPAD_PINCH: + case GDK_PAD_BUTTON_PRESS: + case GDK_PAD_BUTTON_RELEASE: + case GDK_PAD_RING: + case GDK_PAD_STRIP: + case GDK_PAD_GROUP_MODE: if (!_gtk_propagate_captured_event (grab_widget, event, topmost_widget)) gtk_propagate_event (grab_widget, event); break; |