1
0
Fork 0

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:
Jasper St. Pierre 2014-05-05 14:14:00 -04:00
parent f4ef4b79f9
commit a5cca5296c

View file

@ -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;