xdg-dialog: implement new protocol
This commit is contained in:
parent
242e06b242
commit
1c9d56998d
9 changed files with 187 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue