mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
ui: Remove device events from X11 mask
These interfere with our touch handling.
This commit is contained in:
parent
656fe49dbe
commit
6d72b7c017
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user