diff options
| author | Sungyoon Cho <sungyoon@sungyooncho.dev> | 2024-09-06 08:54:01 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-06 00:54:01 +0100 |
| commit | 0fad7a0bb03d4181901952a0df620d42ab6bbe4d (patch) | |
| tree | 4294897283e7df257226846a8491228286466241 /src/desktop/Workspace.cpp | |
| parent | 727f1b54cd1ba48774092a5d54acc0e55f3ffe0f (diff) | |
workspacerules: fix on-created-empty window focus (#7657)
Diffstat (limited to 'src/desktop/Workspace.cpp')
| -rw-r--r-- | src/desktop/Workspace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp index 35fc5727..2d92659c 100644 --- a/src/desktop/Workspace.cpp +++ b/src/desktop/Workspace.cpp @@ -51,7 +51,7 @@ void CWorkspace::init(PHLWORKSPACE self) { if (self->m_bWasCreatedEmpty) if (auto cmd = WORKSPACERULE.onCreatedEmptyRunCmd) - g_pKeybindManager->spawn(*cmd); + g_pKeybindManager->spawnWithRules(*cmd, self); g_pEventManager->postEvent({"createworkspace", m_szName}); g_pEventManager->postEvent({"createworkspacev2", std::format("{},{}", m_iID, m_szName)}); |
