summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-25 10:25:36 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-25 10:25:36 +0200
commit0ae6563fefcad255195a4cb296907c0e1732eb94 (patch)
tree43ab0334b6e6d4204146f64cbb45f8d70fa12868 /src/Compositor.cpp
parentc8425926c90da1aca425ad4a5468d9345100ac28 (diff)
workspace set active
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 868f15e0..76b0460e 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -743,7 +743,7 @@ CWindow* CCompositor::getWindowInDirection(CWindow* pWindow, char dir) {
void CCompositor::deactivateAllWLRWorkspaces(wlr_ext_workspace_handle_v1* exclude) {
for (auto& w : m_lWorkspaces) {
if (w.m_pWlrHandle && w.m_pWlrHandle != exclude)
- wlr_ext_workspace_handle_v1_set_active(w.m_pWlrHandle, false);
+ w.setActive(false);
}
}