summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/compositor_api/qwaylandclient.h')
-rw-r--r--src/compositor/compositor_api/qwaylandclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandclient.h b/src/compositor/compositor_api/qwaylandclient.h
index 26e7b95e5..50e7baf72 100644
--- a/src/compositor/compositor_api/qwaylandclient.h
+++ b/src/compositor/compositor_api/qwaylandclient.h
@@ -55,6 +55,7 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandClient : public QObject
Q_OBJECT
Q_DECLARE_PRIVATE(QWaylandClient)
+ Q_PROPERTY(QWaylandCompositor *compositor READ compositor CONSTANT)
Q_PROPERTY(qint64 userId READ userId CONSTANT)
Q_PROPERTY(qint64 groupId READ groupId CONSTANT)
Q_PROPERTY(qint64 processId READ processId CONSTANT)
@@ -63,6 +64,8 @@ public:
static QWaylandClient *fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient);
+ QWaylandCompositor *compositor() const;
+
wl_client *client() const;
qint64 userId() const;