diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2015-03-12 13:00:24 -0700 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2015-03-13 13:28:33 -0700 |
commit | 6d72b7c017ca1537d28be3eeb765e9b9017a19c3 (patch) | |
tree | ea85f68df0b104ad41566f61b5f8902f31007d93 /src/ui/ui.c | |
parent | 656fe49dbeaa88f65e0b44c66d9434dc73468adc (diff) | |
download | mutter-6d72b7c017ca1537d28be3eeb765e9b9017a19c3.tar.gz |
ui: Remove device events from X11 mask
These interfere with our touch handling.
Diffstat (limited to 'src/ui/ui.c')
-rw-r--r-- | src/ui/ui.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c index bebf6873d..b0f04d02d 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -166,13 +166,7 @@ meta_ui_create_frame (MetaUI *ui, attrs.title = NULL; - /* frame.c is going to replace the event mask immediately, but - * we still have to set it here to let GDK know what it is. - */ - attrs.event_mask = - GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | - GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_FOCUS_CHANGE_MASK; + attrs.event_mask = GDK_EXPOSURE_MASK; attrs.x = x; attrs.y = y; attrs.wclass = GDK_INPUT_OUTPUT; |