summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandxdgshell.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-08-17 10:02:16 +0200
committerPaul Olav Tvete <paul.tvete@qt.io>2018-08-17 14:39:46 +0000
commit53d7bffef7fd7f2e1026ac54e5c8bdb3df761208 (patch)
tree14b5494ee9838ab78186d49735e7411eaf6e01e2 /src/compositor/extensions/qwaylandxdgshell.h
parent4d2106d4b6ed1a088834a8fec9c6a47e5a67d4e8 (diff)
Compositor: Add QWaylandXdgToplevel::fromResource
Change-Id: I0f388a4c4f6b765c34d115a6583982d86bc82557 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshell.h')
-rw-r--r--src/compositor/extensions/qwaylandxdgshell.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshell.h b/src/compositor/extensions/qwaylandxdgshell.h
index 6f660eb1f..5467290f6 100644
--- a/src/compositor/extensions/qwaylandxdgshell.h
+++ b/src/compositor/extensions/qwaylandxdgshell.h
@@ -183,6 +183,7 @@ public:
Q_INVOKABLE uint sendResizing(const QSize &maxSize);
static QWaylandSurfaceRole *role();
+ static QWaylandXdgToplevel *fromResource(::wl_resource *resource);
Q_SIGNALS:
void parentToplevelChanged();