summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2015-03-12 13:00:24 -0700
committerJasper St. Pierre <jstpierre@mecheye.net>2015-03-13 13:28:33 -0700
commit6d72b7c017ca1537d28be3eeb765e9b9017a19c3 (patch)
treeea85f68df0b104ad41566f61b5f8902f31007d93
parent656fe49dbeaa88f65e0b44c66d9434dc73468adc (diff)
ui: Remove device events from X11 mask
These interfere with our touch handling.
-rw-r--r--src/ui/ui.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c
index bebf6873..b0f04d02 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;