mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 23:45:58 +01:00
animations: simplify window loop
This commit is contained in:
parent
7513c0cea5
commit
108163f1e5
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void CAnimationManager::tick() {
|
||||||
|
|
||||||
// TODO: just make this into a damn callback already vax...
|
// TODO: just make this into a damn callback already vax...
|
||||||
for (auto& w : g_pCompositor->m_vWindows) {
|
for (auto& w : g_pCompositor->m_vWindows) {
|
||||||
if (!g_pCompositor->windowValidMapped(w.get()) || w->m_iWorkspaceID != PWORKSPACE->m_iID)
|
if (!w->m_bIsMapped || w->isHidden() || w->m_iWorkspaceID != PWORKSPACE->m_iID)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (w->m_bIsFloating && !w->m_bPinned) {
|
if (w->m_bIsFloating && !w->m_bPinned) {
|
||||||
|
|
Loading…
Reference in a new issue