mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 13:29:49 +01:00
parent
ddf8e01c1e
commit
f9c13b614c
2 changed files with 2 additions and 1 deletions
|
@ -2795,6 +2795,6 @@ void CCompositor::updateSuspendedStates() {
|
|||
if (!w->m_bIsMapped)
|
||||
continue;
|
||||
|
||||
w->setSuspended(w->isHidden() || !g_pHyprRenderer->shouldRenderWindow(w.get()));
|
||||
w->setSuspended(w->isHidden() || !isWorkspaceVisible(w->m_iWorkspaceID));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1036,4 +1036,5 @@ void CWindow::setSuspended(bool suspend) {
|
|||
return;
|
||||
|
||||
wlr_xdg_toplevel_set_suspended(m_uSurface.xdg->toplevel, suspend);
|
||||
m_bSuspended = suspend;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue