summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-08-22 17:17:54 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-09-05 13:57:46 +0000
commita96dec760b19c85c67fb0cca649c22a12e7f51f5 (patch)
treea7ec3811426bfdd361fc8a077fa7f0d468ade11d
parentf21246748ce20cd86346e192fe0c4c76a9b08a7c (diff)
Remove or add window decorations when toggling fullscreen
Task-number: QTBUG-55343 Change-Id: I38e94a70585ba93d40de22698fda80530cf2156d Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
-rw-r--r--src/client/qwaylandwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
index 8885c0e5d..a1daa07f0 100644
--- a/src/client/qwaylandwindow.cpp
+++ b/src/client/qwaylandwindow.cpp
@@ -823,6 +823,7 @@ bool QWaylandWindow::setWindowStateInternal(Qt::WindowState state)
mState = state;
if (mShellSurface) {
+ createDecoration();
switch (state) {
case Qt::WindowFullScreen:
mShellSurface->setFullscreen();