mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
core: end-of-grab button releases must be consumed by the window
Returning FALSE here gets the button release event propagated to the client on wayland, which is unexpected after xdg_surface.move/resize() have been called. https://bugzilla.gnome.org/show_bug.cgi?id=738888
This commit is contained in:
parent
b63413e5b0
commit
8819d9ce66
@ -6110,10 +6110,8 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window,
|
||||
case CLUTTER_BUTTON_RELEASE:
|
||||
if (event->button.button == 1 ||
|
||||
event->button.button == (unsigned int) meta_prefs_get_mouse_button_resize ())
|
||||
{
|
||||
end_grab_op (window, event);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
||||
case CLUTTER_TOUCH_BEGIN:
|
||||
|
Loading…
Reference in New Issue
Block a user