diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-12 23:04:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-12 23:04:42 +0100 |
| commit | 814337fdd2e0894c2451b258e605e9ab0b603b48 (patch) | |
| tree | 02715e97c480185fc3a71b8c22f9cb0480c78aea /src/managers/KeybindManager.cpp | |
| parent | d67c4e2b7f1e381b24becbb45b8e8471fcdda163 (diff) | |
keybinds: fix wrong space assignment in pin (#14061)
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 10f760a0..5c233ef5 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -2478,7 +2478,7 @@ SDispatchResult CKeybindManager::pinActive(std::string args) { return {.success = false, .error = "pin: window not found"}; } - PWINDOW->moveToWorkspace(PMONITOR->m_activeWorkspace); + PWINDOW->layoutTarget()->assignToSpace(PMONITOR->m_activeWorkspace->m_space); PWINDOW->m_ruleApplicator->propertiesChanged(Desktop::Rule::RULE_PROP_PINNED); |
