From c14382181f18a4ca36081b17e01ab63174905520 Mon Sep 17 00:00:00 2001 From: Marek Chalupa Date: Thu, 26 Jun 2014 15:18:50 +0200 Subject: [PATCH] wayland window: update buffer_rect when moving Update both - rect and buffer_rect positions when moving wayland window https://bugzilla.gnome.org/show_bug.cgi?id=731237 --- src/wayland/window-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wayland/window-wayland.c b/src/wayland/window-wayland.c index e78a35682..5f13c4cd7 100644 --- a/src/wayland/window-wayland.c +++ b/src/wayland/window-wayland.c @@ -214,8 +214,8 @@ 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; - window->rect.x = new_x; - window->rect.y = new_y; + window->rect.x = window->buffer_rect.x = new_x; + window->rect.y = window->buffer_rect.y = new_y; } } }