summaryrefslogtreecommitdiff
path: root/src/protocols/XDGShell.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/XDGShell.hpp')
-rw-r--r--src/protocols/XDGShell.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/protocols/XDGShell.hpp b/src/protocols/XDGShell.hpp
index 81d10613..9c766c20 100644
--- a/src/protocols/XDGShell.hpp
+++ b/src/protocols/XDGShell.hpp
@@ -18,6 +18,7 @@ class CXDGToplevelResource;
class CXDGPopupResource;
class CSeatGrab;
class CWLSurfaceResource;
+class CXDGDialogV1Resource;
struct SXDGPositionerState {
Vector2D requestedSize;
@@ -134,7 +135,12 @@ class CXDGToplevelResource {
Vector2D maxSize = {1337420, 694200};
} pending, current;
- WP<CXDGToplevelResource> parent;
+ WP<CXDGToplevelResource> parent;
+ WP<CXDGDialogV1Resource> dialog;
+
+ bool anyChildModal();
+
+ std::vector<WP<CXDGToplevelResource>> children;
private:
SP<CXdgToplevel> resource;