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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue