wayland: Get gravity through MetaWindow getter
Ignore the gravity argument in the move_resize_internal() vmethod, and use the window getter to get it. It should be functionally equivalent, and will eventually replace the argument entirely. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3972>
This commit is contained in:
parent
37df41097c
commit
33c287e271
@ -276,6 +276,8 @@ meta_window_wayland_move_resize_internal (MetaWindow *window,
|
|||||||
if (window->unmanaging)
|
if (window->unmanaging)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
gravity = meta_window_get_gravity (window);
|
||||||
|
|
||||||
configured_rect.x = constrained_rect.x;
|
configured_rect.x = constrained_rect.x;
|
||||||
configured_rect.y = constrained_rect.y;
|
configured_rect.y = constrained_rect.y;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user