diff options
author | Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> | 2017-01-06 10:06:17 +0100 |
---|---|---|
committer | Pier Luigi Fiorini <pierluigi.fiorini@hawaiios.org> | 2017-01-19 10:27:13 +0000 |
commit | 20632f711e6b13b14e7beb28786b9de0f4f9e151 (patch) | |
tree | cc928ae636896e5c6aaf294a54be185f0a4789bf /src/compositor/extensions/qwaylandxdgshellv5.h | |
parent | 7c1f9e78fbc251b48a4093e9c40b64255b3b21e8 (diff) |
compositor: Set windowType property for QWaylandXdgSurfaceV5
QWaylandShellSurface has a windowType property, set that instead of
keeping the window type as an internal detail.
QWaylandXdgSurfaceV5 now behaves like QWaylandWlShellSurface.
[ChangeLog][Compositor] QWaylandXdgSurfaceV5 now sets the windowType
property and behaves like other shell surface implementations.
Change-Id: Iffd91adaff7a2caab3c15b56b839ae2251cf8324
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv5.h')
-rw-r--r-- | src/compositor/extensions/qwaylandxdgshellv5.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv5.h b/src/compositor/extensions/qwaylandxdgshellv5.h index bcc740c7d..b465e92e6 100644 --- a/src/compositor/extensions/qwaylandxdgshellv5.h +++ b/src/compositor/extensions/qwaylandxdgshellv5.h @@ -135,6 +135,8 @@ public: Q_INVOKABLE void initialize(QWaylandXdgShellV5* xdgShell, QWaylandSurface *surface, const QWaylandResource &resource); + Qt::WindowType windowType() const override; + QString title() const; QString appId() const; QRect windowGeometry() const; |