summaryrefslogtreecommitdiff
path: root/src/client/qwaylandscreen_p.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-01-13 20:19:17 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2017-01-13 14:25:20 +0000
commitcab7cb98d5b9530a3c265cc2436dd7d157e43f66 (patch)
treef17e25ec2bf58922fa83afc4e35c282fa0724a0e /src/client/qwaylandscreen_p.h
parent479a487066484809ebdf3c2c16b3c87c72870483 (diff)
downloadqtwayland-cab7cb98d5b9530a3c265cc2436dd7d157e43f66.tar.gz
Fix build without feature.cursor
Change-Id: If244e7ac58133ae6fbefacfa243d47fa210140be Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/client/qwaylandscreen_p.h')
-rw-r--r--src/client/qwaylandscreen_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/qwaylandscreen_p.h b/src/client/qwaylandscreen_p.h
index 9c1f4673..f9f0776f 100644
--- a/src/client/qwaylandscreen_p.h
+++ b/src/client/qwaylandscreen_p.h
@@ -90,8 +90,10 @@ public:
QString name() const Q_DECL_OVERRIDE { return mOutputName; }
+#if QT_CONFIG(cursor)
QPlatformCursor *cursor() const Q_DECL_OVERRIDE;
QWaylandCursor *waylandCursor() const { return mWaylandCursor; };
+#endif
uint32_t outputId() const { return m_outputId; }
::wl_output *output() { return object(); }
@@ -121,7 +123,9 @@ private:
QString mOutputName;
Qt::ScreenOrientation m_orientation;
+#if QT_CONFIG(cursor)
QWaylandCursor *mWaylandCursor;
+#endif
};
}