summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandcursor_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2023-12-08 11:45:30 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-12-08 13:23:03 +0000
commit499abc747185f9faae11f2a6bb198066cfc7e4d9 (patch)
treed69e8f13c364ea66391798d03d9393dca7820312 /src/client/qwaylandcursor_p.h
parentb2eac76c31c6b870f9487f8a8c76c17891669083 (diff)
client: implement QWaylandCursor::size()
See also 78272c667f008f6afcf5f84e0add525b56c3a558 in qtbase. Fixes: QTBUG-118612 Pick-to: 6.5 Change-Id: I1cfd0c287b133c21a0ccdc5f283d9997f06fb2ed Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit a960d6e107a809c9f5ff9c71cceaa316bf1d428f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/client/qwaylandcursor_p.h')
-rw-r--r--src/client/qwaylandcursor_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/qwaylandcursor_p.h b/src/client/qwaylandcursor_p.h
index 8f4a5b7e5..1f6d5109e 100644
--- a/src/client/qwaylandcursor_p.h
+++ b/src/client/qwaylandcursor_p.h
@@ -106,6 +106,8 @@ public:
QPoint pos() const override;
void setPos(const QPoint &pos) override;
+ QSize size() const override;
+
static QSharedPointer<QWaylandBuffer> cursorBitmapBuffer(QWaylandDisplay *display, const QCursor *cursor);
protected: