mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
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:
parent
b5f46c9171
commit
5621d3c0c7
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user