From 6db68917abd4090e1ecf8d75468ea28adeb342a9 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 14 May 2022 17:26:34 +0200 Subject: rename cleanupWindows to cleanupFadingOut --- src/Compositor.cpp | 2 +- src/Compositor.hpp | 2 +- src/events/Monitors.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 4b6999c7..9f11559a 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 b072266a..33fe7ba7 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 a08bbfda..d8e98ec0 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 -- cgit v1.2.3