mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
window: Make sure not to eat any events that end grab ops
We need to send the button press / button release that ended a grab op to Wayland clients so their tracking don't get confused.
This commit is contained in:
parent
f4ef4b79f9
commit
a5cca5296c
@ -6600,6 +6600,7 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window,
|
||||
meta_grab_op_is_keyboard (window->display->grab_op))
|
||||
{
|
||||
end_grab_op (window, event);
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
@ -6608,6 +6609,7 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window,
|
||||
event->button.button == (unsigned int) meta_prefs_get_mouse_button_resize ())
|
||||
{
|
||||
end_grab_op (window, event);
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user