wayland: Fix the sign for the geometry coordinates

I got the spaces for window geometry coordinates vs. surface coordinates
mixed up.
This commit is contained in:
Jasper St. Pierre 2014-07-17 16:42:41 -04:00
parent b5f46c9171
commit 5621d3c0c7

View File

@ -348,8 +348,8 @@ meta_window_wayland_move_resize (MetaWindow *window,
MetaMoveResizeFlags flags; MetaMoveResizeFlags flags;
/* XXX: Find a better place to store the window geometry offsets. */ /* XXX: Find a better place to store the window geometry offsets. */
window->custom_frame_extents.left = -new_geom.x; window->custom_frame_extents.left = new_geom.x;
window->custom_frame_extents.top = -new_geom.y; window->custom_frame_extents.top = new_geom.y;
flags = META_IS_WAYLAND_RESIZE; flags = META_IS_WAYLAND_RESIZE;