From 5621d3c0c70cd76bd5e19c6c58525c8bb8afbc5e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 17 Jul 2014 16:42:41 -0400 Subject: [PATCH] wayland: Fix the sign for the geometry coordinates I got the spaces for window geometry coordinates vs. surface coordinates mixed up. --- 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 8b512b343..7c80c24b1 100644 --- a/src/wayland/window-wayland.c +++ b/src/wayland/window-wayland.c @@ -348,8 +348,8 @@ meta_window_wayland_move_resize (MetaWindow *window, MetaMoveResizeFlags flags; /* XXX: Find a better place to store the window geometry offsets. */ - window->custom_frame_extents.left = -new_geom.x; - window->custom_frame_extents.top = -new_geom.y; + window->custom_frame_extents.left = new_geom.x; + window->custom_frame_extents.top = new_geom.y; flags = META_IS_WAYLAND_RESIZE;