summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandsurface.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-10-04 10:42:45 +0200
committerLiang Qi <liang.qi@qt.io>2017-10-04 10:42:45 +0200
commit04f6ff77ef0c8858629766e191ecc3d4ef056848 (patch)
treed3684e21bf277bdd2b0d284042d627d97ad528db /src/compositor/compositor_api/qwaylandsurface.h
parenta81fc596a3cbcc07396be1c0284f1ee8aa44ff8c (diff)
parent00a99e631459eb7e52fde822c24d7b9d603008c4 (diff)
Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta1
Diffstat (limited to 'src/compositor/compositor_api/qwaylandsurface.h')
-rw-r--r--src/compositor/compositor_api/qwaylandsurface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandsurface.h b/src/compositor/compositor_api/qwaylandsurface.h
index a2186491b..010f279af 100644
--- a/src/compositor/compositor_api/qwaylandsurface.h
+++ b/src/compositor/compositor_api/qwaylandsurface.h
@@ -86,7 +86,7 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandSurface : public QWaylandObject
Q_PROPERTY(Qt::ScreenOrientation contentOrientation READ contentOrientation NOTIFY contentOrientationChanged)
Q_PROPERTY(QWaylandSurface::Origin origin READ origin NOTIFY originChanged)
Q_PROPERTY(bool hasContent READ hasContent NOTIFY hasContentChanged)
- Q_PROPERTY(bool cursorSurface READ isCursorSurface WRITE markAsCursorSurface)
+ Q_PROPERTY(bool cursorSurface READ isCursorSurface WRITE markAsCursorSurface NOTIFY cursorSurfaceChanged)
public:
enum Origin {
@@ -165,6 +165,7 @@ Q_SIGNALS:
void subsurfacePlaceAbove(QWaylandSurface *sibling);
void subsurfacePlaceBelow(QWaylandSurface *sibling);
void dragStarted(QWaylandDrag *drag);
+ void cursorSurfaceChanged();
void configure(bool hasBuffer);
void redraw();