diff options
Diffstat (limited to 'src/compositor/compositor_api/waylandsurfaceitem.h')
-rw-r--r-- | src/compositor/compositor_api/waylandsurfaceitem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/waylandsurfaceitem.h b/src/compositor/compositor_api/waylandsurfaceitem.h index 73697ae22..0114f127c 100644 --- a/src/compositor/compositor_api/waylandsurfaceitem.h +++ b/src/compositor/compositor_api/waylandsurfaceitem.h @@ -56,7 +56,7 @@ Q_DECLARE_METATYPE(WaylandSurface*) class Q_COMPOSITOR_EXPORT WaylandSurfaceItem : public QQuickItem { Q_OBJECT - Q_PROPERTY(WaylandSurface* surface READ surface WRITE setSurface) + Q_PROPERTY(WaylandSurface* surface READ surface WRITE setSurface NOTIFY surfaceChanged) Q_PROPERTY(bool paintEnabled READ paintEnabled WRITE setPaintEnabled) Q_PROPERTY(bool useTextureAlpha READ useTextureAlpha WRITE setUseTextureAlpha NOTIFY useTextureAlphaChanged) Q_PROPERTY(bool clientRenderingEnabled READ clientRenderingEnabled WRITE setClientRenderingEnabled NOTIFY clientRenderingEnabledChanged) @@ -114,6 +114,7 @@ signals: void clientRenderingEnabledChanged(); void touchEventsEnabledChanged(); void yInvertedChanged(); + void surfaceChanged(); protected: QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *); |