mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
window: Ensure constraints after a Wayland client resize
The client may have changed the window size in a way that it now violates some of the constraints. To ensure constraints are applied again after a client resize we need to queue a mutter side resize. This will apply the constraints and send the new size to the client. Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1956 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2103>
This commit is contained in:
parent
d66e3e2d8a
commit
0e736af301
@ -4213,6 +4213,9 @@ meta_window_move_resize_internal (MetaWindow *window,
|
||||
|
||||
meta_stack_update_window_tile_matches (window->display->stack,
|
||||
workspace_manager->active_workspace);
|
||||
|
||||
if (flags & META_MOVE_RESIZE_WAYLAND_CLIENT_RESIZE)
|
||||
meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user