diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 4b6999c7c..9f11559a5 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -632,7 +632,7 @@ void CCompositor::moveWindowToTop(CWindow* pWindow) { } } -void CCompositor::cleanupWindows() { +void CCompositor::cleanupFadingOut() { for (auto& w : m_lWindowsFadingOut) { bool valid = windowExists(w); diff --git a/src/Compositor.hpp b/src/Compositor.hpp index b072266a1..33fe7ba70 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -112,7 +112,7 @@ public: bool doesSeatAcceptInput(wlr_surface*); bool isWindowActive(CWindow*); void moveWindowToTop(CWindow*); - void cleanupWindows(); + void cleanupFadingOut(); CWindow* getWindowInDirection(CWindow*, char); void deactivateAllWLRWorkspaces(wlr_ext_workspace_handle_v1* exclude = nullptr); CWindow* getNextWindowOnWorkspace(CWindow*); diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp index a08bbfda1..d8e98ec01 100644 --- a/src/events/Monitors.cpp +++ b/src/events/Monitors.cpp @@ -135,7 +135,7 @@ void Events::listener_monitorFrame(void* owner, void* data) { if (PMONITOR->ID == pMostHzMonitor->ID) { g_pCompositor->sanityCheckWorkspaces(); g_pAnimationManager->tick(); - g_pCompositor->cleanupWindows(); + g_pCompositor->cleanupFadingOut(); HyprCtl::tickHyprCtl(); // so that we dont get that race condition multithread bullshit