summaryrefslogtreecommitdiffstats
path: root/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell_p.h
diff options
context:
space:
mode:
authorPier Luigi Fiorini <pierluigi.fiorini@liri.io>2019-01-06 19:21:20 +0100
committerPier Luigi Fiorini <pierluigi.fiorini@liri.io>2019-01-15 08:12:07 +0000
commit5698f22afbd0e6be273f31cf8b934383e7b68cdb (patch)
treea5f5e162c6980e0f0954b2e58ff0933a35c03881 /src/plugins/shellintegration/xdg-shell/qwaylandxdgshell_p.h
parent312c74a4aa7124b5125c2ca6165805c50e23e828 (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/plugins/shellintegration/xdg-shell/qwaylandxdgshell_p.h')
-rw-r--r--src/plugins/shellintegration/xdg-shell/qwaylandxdgshell_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell_p.h b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell_p.h
index 416feee2c..c39ccde3b 100644
--- a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell_p.h
+++ b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell_p.h
@@ -92,6 +92,9 @@ public:
bool handlesActiveState() const { return m_toplevel; }
void applyConfigure() override;
bool wantsDecorations() const override;
+ void propagateSizeHints() override;
+
+ void setSizeHints();
protected:
void requestWindowStates(Qt::WindowStates states) override;