Merge pull request #4753 from The-Robin-Hood/master

hyprland/workspaces persistent fix and improve cursor handling configuration
This commit is contained in:
Alexis Rouillard
2026-07-03 21:00:47 +02:00
committed by GitHub
2 changed files with 10 additions and 2 deletions
+4
View File
@@ -327,6 +327,10 @@ void Workspaces::loadPersistentWorkspacesFromWorkspaceRules(const Json::Value& c
// 2. the rule's monitor is the current monitor
// 3. no monitor is specified in the rule => assume it needs to be persistent on every monitor
if (allOutputs() || m_bar.output->name == monitor || monitor.empty()) {
// => skip ignore-workspaces even if its a persistent
if(isWorkspaceIgnored(workspace)) {
continue;
}
// => persistent workspace should be shown on this monitor
auto workspaceData = createMonitorWorkspaceData(workspace, m_bar.output->name);
workspaceData["persistent-rule"] = true;