diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2016-06-13 14:00:47 +0200 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2016-06-13 17:31:35 +0200 |
commit | 989ec7fc60d534a8167535795de141590be406bb (patch) | |
tree | c35c74ab236bda7404a58faa01611a2b13671fe9 /src/wayland/meta-window-wayland.c | |
parent | c72efc90cb8c221df8c865bf3738f98067a5c60e (diff) | |
download | mutter-989ec7fc60d534a8167535795de141590be406bb.tar.gz |
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
Diffstat (limited to 'src/wayland/meta-window-wayland.c')
-rw-r--r-- | src/wayland/meta-window-wayland.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland/meta-window-wayland.c b/src/wayland/meta-window-wayland.c index 8f51d9ab4..4bd4cead8 100644 --- a/src/wayland/meta-window-wayland.c +++ b/src/wayland/meta-window-wayland.c @@ -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; |