hyprland/workspaces: Show workspace on all outputs if an empty array is given

This behaviour is consistent with sway/workspaces and wlr/workspaces
pull/2442/head
PucklaJ 2023-08-30 13:35:19 +02:00
parent b665843085
commit a18b41911d
1 changed files with 3 additions and 0 deletions

View File

@ -227,6 +227,9 @@ void Workspaces::fill_persistent_workspaces() {
break; break;
} }
} }
} else {
// this workspace should be displayed on all monitors
persistent_workspaces_to_create_.emplace_back(key);
} }
} }
} }