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
1 changed files with 3 additions and 2 deletions
|
@ -6523,9 +6523,10 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window,
|
|||
}
|
||||
|
||||
case CLUTTER_TOUCH_END:
|
||||
if (meta_display_is_pointer_emulating_sequence (window->display, sequence))
|
||||
end_grab_op (window, event);
|
||||
if (!meta_display_is_pointer_emulating_sequence (window->display, sequence))
|
||||
return FALSE;
|
||||
|
||||
end_grab_op (window, event);
|
||||
return TRUE;
|
||||
|
||||
case CLUTTER_BUTTON_RELEASE:
|
||||
|
|
Loading…
Reference in a new issue