summaryrefslogtreecommitdiff
path: root/src/protocols/XDGShell.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-04-21 22:22:06 +0100
committerVaxry <vaxry@vaxry.net>2025-04-21 22:30:27 +0100
commita4f7d7c594c70408f299ec8b794211c534709eaa (patch)
tree1365c77e4789f054550876a1720b2aa890271f04 /src/protocols/XDGShell.hpp
parent55e953b383f6b658b20ede1fea7772d2a88e7c65 (diff)
protocols: add xdg_toplevel_tag_v1 support
Adds a new windowrule to target windows by xdgTag, xdgtag:
Diffstat (limited to 'src/protocols/XDGShell.hpp')
-rw-r--r--src/protocols/XDGShell.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/XDGShell.hpp b/src/protocols/XDGShell.hpp
index b46e0236..12f76774 100644
--- a/src/protocols/XDGShell.hpp
+++ b/src/protocols/XDGShell.hpp
@@ -141,6 +141,8 @@ class CXDGToplevelResource {
WP<CXDGToplevelResource> parent;
WP<CXDGDialogV1Resource> dialog;
+ std::optional<std::string> m_toplevelTag, m_toplevelDescription;
+
bool anyChildModal();
std::vector<WP<CXDGToplevelResource>> children;