summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/qwlextendedsurface_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/wayland_wrapper/qwlextendedsurface_p.h')
-rw-r--r--src/compositor/wayland_wrapper/qwlextendedsurface_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/qwlextendedsurface_p.h b/src/compositor/wayland_wrapper/qwlextendedsurface_p.h
index c22a42832..9bcb28272 100644
--- a/src/compositor/wayland_wrapper/qwlextendedsurface_p.h
+++ b/src/compositor/wayland_wrapper/qwlextendedsurface_p.h
@@ -75,7 +75,7 @@ private:
class ExtendedSurface : public QWaylandSurfaceInterface, public QtWaylandServer::qt_extended_surface
{
public:
- ExtendedSurface(struct wl_client *client, uint32_t id, Surface *surface);
+ ExtendedSurface(struct wl_client *client, uint32_t id, int version, Surface *surface);
~ExtendedSurface();
void sendGenericProperty(const QString &name, const QVariant &variant);
@@ -87,6 +87,7 @@ public:
ExtendedSurface *parent() const;
void setParent(ExtendedSurface *parent);
QLinkedList<QWaylandSurface *> subSurfaces() const;
+ void setParentSurface(Surface *s);
Qt::ScreenOrientations contentOrientationMask() const;