From 56de72f357222beca94e3d4f8152e2523a22c0b3 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 2 May 2024 02:17:55 +0100 Subject: internal: store matched windowrules and emit event new event for plugins, windowUpdateRules --- 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 dd7d2e1e..d6b962e7 100644 --- a/src/desktop/Window.hpp +++ b/src/desktop/Window.hpp @@ -378,6 +378,9 @@ class CWindow { bool m_bTearingHint = false; + // stores the currently matched window rules + std::vector m_vMatchedRules; + // For the list lookup bool operator==(const CWindow& rhs) { return m_uSurface.xdg == rhs.m_uSurface.xdg && m_uSurface.xwayland == rhs.m_uSurface.xwayland && m_vPosition == rhs.m_vPosition && m_vSize == rhs.m_vSize && -- cgit v1.2.3