From a18b41911d853bfb8a91c1c752a5bb098e0de1da Mon Sep 17 00:00:00 2001 From: PucklaJ Date: Wed, 30 Aug 2023 13:35:19 +0200 Subject: [PATCH] hyprland/workspaces: Show workspace on all outputs if an empty array is given This behaviour is consistent with sway/workspaces and wlr/workspaces --- src/modules/hyprland/workspaces.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/hyprland/workspaces.cpp b/src/modules/hyprland/workspaces.cpp index 9f46b823..170cb67c 100644 --- a/src/modules/hyprland/workspaces.cpp +++ b/src/modules/hyprland/workspaces.cpp @@ -227,6 +227,9 @@ void Workspaces::fill_persistent_workspaces() { break; } } + } else { + // this workspace should be displayed on all monitors + persistent_workspaces_to_create_.emplace_back(key); } } }