From 9316256e10802391b0789d79541d4489631dce78 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 17 Jul 2014 15:27:47 -0400 Subject: [PATCH] wayland: Use the variables we already have --- 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 5464812f7..e4677540a 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; } } }