mirror of
https://github.com/brl/mutter.git
synced 2025-01-10 19:52:25 +00:00
wayland: Mark pending moved as moved
The result flag needs to be marked as moved even for pending moves, otherwise the window's unconstrained_rect doesn't get updated in meta_window_move_resize_internal() and the anchor grab is wrong. https://bugzilla.gnome.org/show_bug.cgi?id=764180
This commit is contained in:
parent
c72efc90cb
commit
989ec7fc60
@ -303,6 +303,7 @@ meta_window_wayland_move_resize_internal (MetaWindow *window,
|
||||
|
||||
if (new_x != window->rect.x || new_y != window->rect.y)
|
||||
{
|
||||
*result |= META_MOVE_RESIZE_RESULT_MOVED;
|
||||
wl_window->has_pending_move = TRUE;
|
||||
wl_window->pending_move_x = new_x;
|
||||
wl_window->pending_move_y = new_y;
|
||||
|
Loading…
Reference in New Issue
Block a user