diff options
| author | Epilepsy Gatherings <73647246+phonetic112@users.noreply.github.com> | 2024-02-05 17:36:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 22:36:22 +0000 |
| commit | 8a6e428d32f170737110a2184c4d59c98f317422 (patch) | |
| tree | a078b7b397feb785f7b7fd634902d1307fab7161 /src/managers/KeybindManager.cpp | |
| parent | 1fd82e37a782a3506accb63cd470fe96db772cc0 (diff) | |
keybinds: focusWorkspaceOnCurrentMonitor: use focused monitor instead (#4625)
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 7f6c06ae..a5419e67 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1512,7 +1512,7 @@ void CKeybindManager::focusWorkspaceOnCurrentMonitor(std::string args) { return; } - const auto PCURRMONITOR = g_pCompositor->getMonitorFromCursor(); + const auto PCURRMONITOR = g_pCompositor->m_pLastMonitor; if (!PCURRMONITOR) { Debug::log(ERR, "focusWorkspaceOnCurrentMonitor monitor doesn't exist!"); |
