diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-25 10:25:36 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-25 10:25:36 +0200 |
| commit | 0ae6563fefcad255195a4cb296907c0e1732eb94 (patch) | |
| tree | 43ab0334b6e6d4204146f64cbb45f8d70fa12868 /src/managers/KeybindManager.cpp | |
| parent | c8425926c90da1aca425ad4a5468d9345100ac28 (diff) | |
workspace set active
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index ed2be2c5..f6e4f037 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -226,7 +226,7 @@ void CKeybindManager::changeworkspace(std::string args) { // set active and deactivate all other in wlr g_pCompositor->deactivateAllWLRWorkspaces(PWORKSPACETOCHANGETO->m_pWlrHandle); - wlr_ext_workspace_handle_v1_set_active(PWORKSPACETOCHANGETO->m_pWlrHandle, true); + PWORKSPACETOCHANGETO->setActive(true); Debug::log(LOG, "Changed to workspace %i", workspaceToChangeTo); @@ -271,7 +271,7 @@ void CKeybindManager::changeworkspace(std::string args) { // set active and deactivate all other g_pCompositor->deactivateAllWLRWorkspaces(PWORKSPACE->m_pWlrHandle); - wlr_ext_workspace_handle_v1_set_active(PWORKSPACE->m_pWlrHandle, true); + PWORKSPACE->setActive(true); // mark the monitor dirty g_pHyprRenderer->damageMonitor(PMONITOR); |
