Re-evaluate default_orientation auto when workspaces change outputs

Workspaces created with default_orientation auto now re-orient when
moved to a different output, evacuated on disconnect, restored on
reconnect, or when output mode/transform changes.
This commit is contained in:
Milad Alizadeh 2026-02-22 18:18:22 +00:00
parent fa497964fd
commit 19f9dbc49a
No known key found for this signature in database
5 changed files with 44 additions and 5 deletions

View file

@ -157,4 +157,6 @@ size_t workspace_num_sticky_containers(struct sway_workspace *ws);
*/
void workspace_squash(struct sway_workspace *workspace);
void workspace_reorient_auto(struct sway_workspace *ws);
#endif