desktop/layer: store aboveFs property and use that
This commit is contained in:
parent
59438908de
commit
7098558420
7 changed files with 53 additions and 45 deletions
|
|
@ -1318,6 +1318,12 @@ void CMonitor::changeWorkspace(const PHLWORKSPACE& pWorkspace, bool internal, bo
|
|||
EMIT_HOOK_EVENT("workspace", pWorkspace);
|
||||
}
|
||||
|
||||
// set all LSes as not above fullscreen on workspace changes
|
||||
for (auto const& ls : g_pCompositor->m_layers) {
|
||||
if (ls->m_monitor == m_self)
|
||||
ls->m_aboveFullscreen = false;
|
||||
}
|
||||
|
||||
pWorkspace->m_events.activeChanged.emit();
|
||||
|
||||
g_pHyprRenderer->damageMonitor(m_self.lock());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue