summaryrefslogtreecommitdiff
path: root/src/client/qwaylandshellsurface_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandshellsurface_p.h')
-rw-r--r--src/client/qwaylandshellsurface_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/qwaylandshellsurface_p.h b/src/client/qwaylandshellsurface_p.h
index 8f176e28..51116c52 100644
--- a/src/client/qwaylandshellsurface_p.h
+++ b/src/client/qwaylandshellsurface_p.h
@@ -21,6 +21,8 @@
#include <QtWaylandClient/qtwaylandclientglobal.h>
#include <QtCore/private/qglobal_p.h>
+#include <any>
+
struct wl_surface;
QT_BEGIN_NAMESPACE
@@ -80,6 +82,8 @@ public:
QPlatformWindow *platformWindow();
struct wl_surface *wlSurface();
+ virtual std::any surfaceRole() const { return std::any(); };
+
protected:
void resizeFromApplyConfigure(const QSize &sizeWithMargins, const QPoint &offset = {0, 0});
void repositionFromApplyConfigure(const QPoint &position);