From b10a43dabc0d65a03a3a169ff292f0f18d9c6640 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 29 Apr 2025 18:14:02 +0100 Subject: windowrules: add noclosefor fixes #10027 --- src/desktop/Window.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/desktop/Window.hpp') 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 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 && -- cgit v1.2.3