diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2016-09-14 16:30:22 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2016-09-18 07:02:13 +0000 |
commit | 02e34ece17ca1b24111ccb5110bfdb0c740f8923 (patch) | |
tree | ccdc52e735a856a753c53aed6778987ce262f15d /src/client/qwaylandwindow_p.h | |
parent | 004c6ffdbdb91f215364740a1975b37fe54b757c (diff) |
Fix FramelessWindowHint
setFlags() works just like setWindowState(): we have to use the supplied
parameter because the window's state hasn't been updated yet.
Change-Id: I223e01ef192f30911697e449669e745f0ad59d99
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@hawaiios.org>
Diffstat (limited to 'src/client/qwaylandwindow_p.h')
-rw-r--r-- | src/client/qwaylandwindow_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h index 82898152c..03c4a1e48 100644 --- a/src/client/qwaylandwindow_p.h +++ b/src/client/qwaylandwindow_p.h @@ -237,6 +237,7 @@ protected: QIcon mWindowIcon; Qt::WindowState mState; + Qt::WindowFlags mFlags; QRegion mMask; QWaylandShmBackingStore *mBackingStore; |