summaryrefslogtreecommitdiff
path: root/src/compositor/extensions/qwaylandxdgshellv5.h
diff options
context:
space:
mode:
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>2017-01-06 08:48:08 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2017-01-09 09:38:25 +0000
commit0e2a950895805457a45abe860bc91a7cc4ba405e (patch)
tree98a5d13256b0bd8d585c7f6251d90898c799e6a0 /src/compositor/extensions/qwaylandxdgshellv5.h
parent48a1f953de90b613ff4fce784dde33328cbfef7d (diff)
downloadqtwayland-0e2a950895805457a45abe860bc91a7cc4ba405e.tar.gz
compositor: Add QWaylandXdgPopupV5 position property notifyv5.8.05.8.0
The property changes at initialization time hence it needs to notify changes. Change-Id: I5f6bc51da69abce387ac31cecfff4c7362501eb0 Reviewed-by: Johan Helsing <johan.helsing@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv5.h')
-rw-r--r--src/compositor/extensions/qwaylandxdgshellv5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv5.h b/src/compositor/extensions/qwaylandxdgshellv5.h
index bcc740c7..49ef6644 100644
--- a/src/compositor/extensions/qwaylandxdgshellv5.h
+++ b/src/compositor/extensions/qwaylandxdgshellv5.h
@@ -210,7 +210,7 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandXdgPopupV5 : public QWaylandShellSurfa
Q_PROPERTY(QWaylandXdgShellV5 *shell READ shell NOTIFY shellChanged)
Q_PROPERTY(QWaylandSurface *surface READ surface NOTIFY surfaceChanged)
Q_PROPERTY(QWaylandSurface *parentSurface READ parentSurface NOTIFY parentSurfaceChanged)
- Q_PROPERTY(QPoint position READ position)
+ Q_PROPERTY(QPoint position READ position NOTIFY positionChanged)
public:
QWaylandXdgPopupV5();
@@ -243,6 +243,7 @@ Q_SIGNALS:
void shellChanged();
void surfaceChanged();
void parentSurfaceChanged();
+ void positionChanged();
private:
void initialize() override;