Remove or add window decorations when toggling fullscreen

Task-number: QTBUG-55343
Change-Id: I38e94a70585ba93d40de22698fda80530cf2156d
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
Johan Klokkhammer Helsing 2016-08-22 17:17:54 +02:00 committed by Johan Helsing
parent 47d6975894
commit 5f533e9ccc

View File

@ -823,6 +823,7 @@ bool QWaylandWindow::setWindowStateInternal(Qt::WindowState state)
mState = state;
if (mShellSurface) {
createDecoration();
switch (state) {
case Qt::WindowFullScreen:
mShellSurface->setFullscreen();