[mutter] wayland: Use the variables we already have
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Use the variables we already have
- Date: Thu, 17 Jul 2014 19:50:59 +0000 (UTC)
commit 9316256e10802391b0789d79541d4489631dce78
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jul 17 15:27:47 2014 -0400
wayland: Use the variables we already have
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 5464812..e467754 100644
--- a/src/wayland/window-wayland.c
+++ b/src/wayland/window-wayland.c
@@ -227,8 +227,8 @@ meta_window_wayland_move_resize_internal (MetaWindow *window,
if (new_buffer_x != window->buffer_rect.x || new_buffer_y != window->buffer_rect.y)
{
*result |= META_MOVE_RESIZE_RESULT_MOVED;
- window->buffer_rect.x = new_x - window->custom_frame_extents.left;
- window->buffer_rect.y = new_y - window->custom_frame_extents.top;
+ window->buffer_rect.x = new_buffer_x;
+ window->buffer_rect.y = new_buffer_y;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]