rename cleanupWindows to cleanupFadingOut

This commit is contained in:
vaxerski 2022-05-14 17:26:34 +02:00
parent 109136af97
commit 6db68917ab
3 changed files with 3 additions and 3 deletions

View file

@ -632,7 +632,7 @@ void CCompositor::moveWindowToTop(CWindow* pWindow) {
} }
} }
void CCompositor::cleanupWindows() { void CCompositor::cleanupFadingOut() {
for (auto& w : m_lWindowsFadingOut) { for (auto& w : m_lWindowsFadingOut) {
bool valid = windowExists(w); bool valid = windowExists(w);

View file

@ -112,7 +112,7 @@ public:
bool doesSeatAcceptInput(wlr_surface*); bool doesSeatAcceptInput(wlr_surface*);
bool isWindowActive(CWindow*); bool isWindowActive(CWindow*);
void moveWindowToTop(CWindow*); void moveWindowToTop(CWindow*);
void cleanupWindows(); void cleanupFadingOut();
CWindow* getWindowInDirection(CWindow*, char); CWindow* getWindowInDirection(CWindow*, char);
void deactivateAllWLRWorkspaces(wlr_ext_workspace_handle_v1* exclude = nullptr); void deactivateAllWLRWorkspaces(wlr_ext_workspace_handle_v1* exclude = nullptr);
CWindow* getNextWindowOnWorkspace(CWindow*); CWindow* getNextWindowOnWorkspace(CWindow*);

View file

@ -135,7 +135,7 @@ void Events::listener_monitorFrame(void* owner, void* data) {
if (PMONITOR->ID == pMostHzMonitor->ID) { if (PMONITOR->ID == pMostHzMonitor->ID) {
g_pCompositor->sanityCheckWorkspaces(); g_pCompositor->sanityCheckWorkspaces();
g_pAnimationManager->tick(); g_pAnimationManager->tick();
g_pCompositor->cleanupWindows(); g_pCompositor->cleanupFadingOut();
HyprCtl::tickHyprCtl(); // so that we dont get that race condition multithread bullshit HyprCtl::tickHyprCtl(); // so that we dont get that race condition multithread bullshit