[mutter] wayland window: update buffer_rect when moving
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland window: update buffer_rect when moving
- Date: Thu, 26 Jun 2014 14:50:53 +0000 (UTC)
commit c14382181f18a4ca36081b17e01ab63174905520
Author: Marek Chalupa <mchqwerty gmail com>
Date: Thu Jun 26 15:18:50 2014 +0200
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/window-wayland.c b/src/wayland/window-wayland.c
index e78a356..5f13c4c 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;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]