aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorstaz <[email protected]>2024-11-17 04:07:33 +0500
committerGitHub <[email protected]>2024-11-16 23:07:33 +0000
commit9d37b1b07339b1b222ceab5952cd9b927fbf6d73 (patch)
treee1c1ae1e0b186f741cd39ee244c663b621ba284d
parentcf18eca86d21c28b127d58938b3a1004800b85c9 (diff)
downloadHyprland-9d37b1b07339b1b222ceab5952cd9b927fbf6d73.tar.gz
Hyprland-9d37b1b07339b1b222ceab5952cd9b927fbf6d73.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;