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:
parent
9a1dc0216e
commit
e82cc58614
@ -429,7 +429,8 @@ meta_wayland_xdg_session_state_restore_window (MetaSessionState *state,
|
|||||||
(META_MOVE_RESIZE_WAYLAND_CLIENT_RESIZE |
|
(META_MOVE_RESIZE_WAYLAND_CLIENT_RESIZE |
|
||||||
META_MOVE_RESIZE_WAYLAND_FINISH_MOVE_RESIZE |
|
META_MOVE_RESIZE_WAYLAND_FINISH_MOVE_RESIZE |
|
||||||
META_MOVE_RESIZE_MOVE_ACTION |
|
META_MOVE_RESIZE_MOVE_ACTION |
|
||||||
META_MOVE_RESIZE_RESIZE_ACTION),
|
META_MOVE_RESIZE_RESIZE_ACTION |
|
||||||
|
META_MOVE_RESIZE_CONSTRAIN),
|
||||||
*rect);
|
*rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user