summaryrefslogtreecommitdiff
path: root/src/desktop/WindowRule.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-10-13 14:16:48 +0200
committerGitHub <noreply@github.com>2025-10-13 13:16:48 +0100
commit4b55ec6830602c36fddcfbe40188a7fdc58a975e (patch)
tree4a6eaa2c76ac7ffbe3af2e88dab561895a98b4bf /src/desktop/WindowRule.hpp
parent7fcaf332e8bacd62c04ba5805ea5d2ab91b38da4 (diff)
windowrules: add modal prop (#12024)
adds a modal prop for targeting modal windows with rules
Diffstat (limited to 'src/desktop/WindowRule.hpp')
-rw-r--r--src/desktop/WindowRule.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop/WindowRule.hpp b/src/desktop/WindowRule.hpp
index 2efeba0f..5bf462e9 100644
--- a/src/desktop/WindowRule.hpp
+++ b/src/desktop/WindowRule.hpp
@@ -60,6 +60,7 @@ class CWindowRule {
int m_pinned = -1;
int m_focus = -1;
int m_group = -1;
+ int m_modal = -1;
std::string m_fullscreenState = ""; // empty means any
std::string m_onWorkspace = ""; // empty means any
std::string m_workspace = ""; // empty means any