aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorstaz <[email protected]>2024-11-17 04:07:33 +0500
committerVaxry <[email protected]>2024-11-18 14:26:44 +0000
commitb3251f296127fcad94181836a912c14d848908de (patch)
tree14ecd48eddc1a7193445699fe77f9e6a179e021b
parentc4a77b8da7783d95345935cd2468d83cd54d182b (diff)
downloadHyprland-b3251f296127fcad94181836a912c14d848908de.tar.gz
Hyprland-b3251f296127fcad94181836a912c14d848908de.zip
workspacerules: Do not check 'on-created-empty' if using a workspace windowrule (#8486)
-rw-r--r--src/events/Windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index f946ce03..77df7373 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -296,7 +296,7 @@ void Events::listener_mapWindow(void* owner, void* data) {
auto pWorkspace = g_pCompositor->getWorkspaceByID(REQUESTEDWORKSPACEID);
if (!pWorkspace)
- pWorkspace = g_pCompositor->createNewWorkspace(REQUESTEDWORKSPACEID, PWINDOW->monitorID(), requestedWorkspaceName);
+ pWorkspace = g_pCompositor->createNewWorkspace(REQUESTEDWORKSPACEID, PWINDOW->monitorID(), requestedWorkspaceName, false);
PWORKSPACE = pWorkspace;