windows: don't force workspace change on same tracked workspace

This commit is contained in:
Vaxry 2024-04-23 11:37:12 +01:00
parent aab1df50ab
commit 4f1214c7e9

View file

@ -85,8 +85,10 @@ void Events::listener_mapWindow(void* owner, void* data) {
Debug::log(LOG, "HL_INITIAL_WORKSPACE_TOKEN {} -> {}", SZTOKEN, WS); Debug::log(LOG, "HL_INITIAL_WORKSPACE_TOKEN {} -> {}", SZTOKEN, WS);
requestedWorkspace = WS; if (g_pCompositor->getWorkspaceByString(WS) != PWINDOW->m_pWorkspace) {
workspaceSilent = true; requestedWorkspace = WS;
workspaceSilent = true;
}
} }
} }
} }