workspace set active

This commit is contained in:
vaxerski
2022-05-25 10:25:36 +02:00
parent c8425926c9
commit 0ae6563fef
6 changed files with 15 additions and 7 deletions

View File

@@ -64,4 +64,10 @@ void CWorkspace::startAnim(bool in, bool left) {
m_vRenderOffset = Vector2D(left ? -PMONITOR->vecSize.x : PMONITOR->vecSize.x, 0);
}
}
}
void CWorkspace::setActive(bool on) {
if (m_pWlrHandle) {
wlr_ext_workspace_handle_v1_set_active(m_pWlrHandle, on);
}
}