summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland_common/qwaylandscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/wayland_common/qwaylandscreen.h')
-rw-r--r--src/plugins/platforms/wayland_common/qwaylandscreen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland_common/qwaylandscreen.h b/src/plugins/platforms/wayland_common/qwaylandscreen.h
index 005f25eea..91848ad05 100644
--- a/src/plugins/platforms/wayland_common/qwaylandscreen.h
+++ b/src/plugins/platforms/wayland_common/qwaylandscreen.h
@@ -69,7 +69,10 @@ public:
Qt::ScreenOrientation orientation() const;
qreal refreshRate() const;
+ QString name() const { return mOutputName; }
+
QPlatformCursor *cursor() const;
+ QWaylandCursor *waylandCursor() const { return mWaylandCursor; };
::wl_output *output() { return object(); }
@@ -94,6 +97,7 @@ private:
int mRefreshRate;
QImage::Format mFormat;
QSize mPhysicalSize;
+ QString mOutputName;
QWaylandCursor *mWaylandCursor;
};