Preserving previous output

This commit is contained in:
Andrew Laucius 2026-03-05 10:54:54 -05:00
parent 992d201512
commit b6efbc6f04
5 changed files with 18 additions and 3 deletions

View file

@ -45,6 +45,7 @@ struct sway_workspace {
struct side_gaps gaps_outer;
struct sway_output *output; // NULL if no outputs are connected
char *previous_output_name; // NULL if no previous output
list_t *floating; // struct sway_container
list_t *tiling; // struct sway_container
list_t *output_priority;