mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
window: Don't stop irrelevant TOUCH_END events during window grab ops
During window grab ops we only react to touch events that have the pointer emulating sequence, all other events should be propagated. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/427>
This commit is contained in:
parent
ef1b101821
commit
504af40c69
@ -6523,9 +6523,10 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window,
|
|||||||
}
|
}
|
||||||
|
|
||||||
case CLUTTER_TOUCH_END:
|
case CLUTTER_TOUCH_END:
|
||||||
if (meta_display_is_pointer_emulating_sequence (window->display, sequence))
|
if (!meta_display_is_pointer_emulating_sequence (window->display, sequence))
|
||||||
end_grab_op (window, event);
|
return FALSE;
|
||||||
|
|
||||||
|
end_grab_op (window, event);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
case CLUTTER_BUTTON_RELEASE:
|
case CLUTTER_BUTTON_RELEASE:
|
||||||
|
Loading…
Reference in New Issue
Block a user