diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-14 20:08:39 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-14 20:08:39 +0200 |
| commit | c2b8c27bc59c1499841e367167510d4be4b27c5c (patch) | |
| tree | ddf244815105c04a0ae78c361395a4d7d3b4a41b /src/managers/KeybindManager.cpp | |
| parent | 1789facddbecb1dd974281e3248f892eacef3c76 (diff) | |
fix workspace switching with damage
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index dbb5fa06..1d3379c3 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -198,6 +198,9 @@ void CKeybindManager::changeworkspace(std::string args) { g_pCompositor->deactivateAllWLRWorkspaces(); wlr_ext_workspace_handle_v1_set_active(PWORKSPACE->m_pWlrHandle, true); + // mark the monitor dirty + g_pHyprRenderer->damageMonitor(PMONITOR); + Debug::log(LOG, "Changed to workspace %i", workspaceToChangeTo); } |
