aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-14 17:26:34 +0200
committervaxerski <[email protected]>2022-05-14 17:26:34 +0200
commit6db68917abd4090e1ecf8d75468ea28adeb342a9 (patch)
tree18ff8a365de3967e92c61863107a05068e80fa6d
parent109136af97547f35f767dae2e7908ab218dfea11 (diff)
downloadHyprland-6db68917abd4090e1ecf8d75468ea28adeb342a9.tar.gz
Hyprland-6db68917abd4090e1ecf8d75468ea28adeb342a9.zip
rename cleanupWindows to cleanupFadingOut
-rw-r--r--src/Compositor.cpp2
-rw-r--r--src/Compositor.hpp2
-rw-r--r--src/events/Monitors.cpp2
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