wayland: Ensure to constrain windows restored through session management

Otherwise, these might end up outside the desktop extents.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4311>
This commit is contained in:
Carlos Garnacho 2025-02-28 15:41:45 +01:00
parent 9a1dc0216e
commit e82cc58614

View File

@ -429,7 +429,8 @@ meta_wayland_xdg_session_state_restore_window (MetaSessionState *state,
(META_MOVE_RESIZE_WAYLAND_CLIENT_RESIZE |
META_MOVE_RESIZE_WAYLAND_FINISH_MOVE_RESIZE |
META_MOVE_RESIZE_MOVE_ACTION |
META_MOVE_RESIZE_RESIZE_ACTION),
META_MOVE_RESIZE_RESIZE_ACTION |
META_MOVE_RESIZE_CONSTRAIN),
*rect);
}