deactivate exclusive
This commit is contained in:
parent
17bd1779ea
commit
51172129d7
5 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue