diff options
author | Pier Luigi Fiorini <pierluigi.fiorini@liri.io> | 2019-01-06 19:21:20 +0100 |
---|---|---|
committer | Pier Luigi Fiorini <pierluigi.fiorini@liri.io> | 2019-01-15 08:12:07 +0000 |
commit | 5698f22afbd0e6be273f31cf8b934383e7b68cdb (patch) | |
tree | a5f5e162c6980e0f0954b2e58ff0933a35c03881 /src/client/qwaylandshellsurface_p.h | |
parent | 312c74a4aa7124b5125c2ca6165805c50e23e828 (diff) |
Set size hints for xdg-shell and xdg-shell-v6
Send minimum and maximum size hints to compositors.
[ChangeLog][QPA plugin] Implement minimum and maximum size in
the xdg-shell and xdg-shell-v6 shell integrations.
Change-Id: I631c3348c8333d7a246b21228a92c436f5adb5dc
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/client/qwaylandshellsurface_p.h')
-rw-r--r-- | src/client/qwaylandshellsurface_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/qwaylandshellsurface_p.h b/src/client/qwaylandshellsurface_p.h index d33a98a1e..804056e54 100644 --- a/src/client/qwaylandshellsurface_p.h +++ b/src/client/qwaylandshellsurface_p.h @@ -97,6 +97,8 @@ public: virtual void requestWindowStates(Qt::WindowStates states) {Q_UNUSED(states);} virtual bool wantsDecorations() const { return false; } + virtual void propagateSizeHints() {} + private: QWaylandWindow *m_window = nullptr; friend class QWaylandWindow; |