From 6f3a27905dda5e94b19c0180ff9b42757ddce19a Mon Sep 17 00:00:00 2001 From: MonstrousOgre Date: Thu, 6 Apr 2023 12:14:44 +0530 Subject: [PATCH] preventing persistent_workspaces and all-outputs from being used together --- src/modules/wlr/workspace_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/wlr/workspace_manager.cpp b/src/modules/wlr/workspace_manager.cpp index 6673c285..6a496e6f 100644 --- a/src/modules/wlr/workspace_manager.cpp +++ b/src/modules/wlr/workspace_manager.cpp @@ -209,7 +209,7 @@ WorkspaceGroup::WorkspaceGroup(const Bar &bar, Gtk::Box &box, const Json::Value } auto WorkspaceGroup::fill_persistent_workspaces() -> void { - if (config_["persistent_workspaces"].isObject()) { + if (config_["persistent_workspaces"].isObject() && !workspace_manager_.all_outputs()) { const Json::Value &p_workspaces = config_["persistent_workspaces"]; const std::vector p_workspaces_names = p_workspaces.getMemberNames();