diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-28 17:55:25 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-28 17:55:25 +0200 |
| commit | 51172129d7e5513e9ac268fe8f8a7659970998ac (patch) | |
| tree | 3a05dca0a8165ed6fefbf90c4502660492644799 /src/Compositor.cpp | |
| parent | 17bd1779ea40d6426237f31e2a9bcc8f24155d5d (diff) | |
deactivate exclusive
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 3cad4dcf..b2d9ab57 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -703,9 +703,9 @@ CWindow* CCompositor::getWindowInDirection(CWindow* pWindow, char dir) { return nullptr; } -void CCompositor::deactivateAllWLRWorkspaces() { +void CCompositor::deactivateAllWLRWorkspaces(wlr_ext_workspace_handle_v1* exclude) { for (auto& w : m_lWorkspaces) { - if (w.m_pWlrHandle) + if (w.m_pWlrHandle && w.m_pWlrHandle != exclude) wlr_ext_workspace_handle_v1_set_active(w.m_pWlrHandle, false); } } |
