diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-17 12:00:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-17 12:00:31 +0200 |
| commit | 74dbf196c1676c964821e4023bd5a4759485c977 (patch) | |
| tree | 3ac4837b91661afe55eaef5abcdd438f436911ee /src/managers/KeybindManager.cpp | |
| parent | 24df15105ee2fc7f2975ef2958c2e7b1258569d1 (diff) | |
| parent | baa9e0caea3ce76f72def6e89659dd851f25831d (diff) | |
Merge pull request #39 from vaxerski/damage-tracking
Added damage tracking
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 f4e0df94..4a5cce5a 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -222,6 +222,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); + // focus (clears the last) g_pInputManager->refocus(); |
