summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-04-29 18:14:02 +0100
committerVaxry <vaxry@vaxry.net>2025-04-29 18:14:02 +0100
commitb10a43dabc0d65a03a3a169ff292f0f18d9c6640 (patch)
treeba93bdd1b1a1235ae0bd16f7569815dd8d224250 /src/desktop/Window.hpp
parent5bd7ff884dc613ad22ecd227d41ce6ad7ee336df (diff)
windowrules: add noclosefor
fixes #10027
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index 8a6590bd..cc62dd3b 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -311,6 +311,9 @@ class CWindow {
// ANR
PHLANIMVAR<float> m_notRespondingTint;
+ // For the noclosefor windowrule
+ Time::steady_tp m_closeableSince = Time::steadyNow();
+
// For the list lookup
bool operator==(const CWindow& rhs) const {
return m_xdgSurface == rhs.m_xdgSurface && m_xwaylandSurface == rhs.m_xwaylandSurface && m_position == rhs.m_position && m_size == rhs.m_size &&