workspacerules: Do not check 'on-created-empty' if using a workspace windowrule (#8486)

This commit is contained in:
staz 2024-11-17 04:07:33 +05:00 committed by Vaxry
parent c4a77b8da7
commit b3251f2961

View file

@ -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;