diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-05-02 02:17:55 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-05-02 02:18:01 +0100 |
| commit | 56de72f357222beca94e3d4f8152e2523a22c0b3 (patch) | |
| tree | 8de75f4a2e2148bc67312e1d00ce6cd5b13c34d6 /src/desktop/Window.hpp | |
| parent | 02bfb2857ee0562bc95cd1f604570967250aa129 (diff) | |
internal: store matched windowrules and emit event
new event for plugins, windowUpdateRules
Diffstat (limited to 'src/desktop/Window.hpp')
| -rw-r--r-- | src/desktop/Window.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<SWindowRule> 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 && |
