Fixed bug #99 about exiting fullscreen

This commit is contained in:
baydam
2015-01-23 22:36:25 +00:00
parent 1a5497d245
commit 584f71e997
+1 -1
View File
@@ -93,7 +93,7 @@ void OutputGLWindow::setFullScreen(bool fullscreen)
#ifdef Q_OS_UNIX
// Special case for Unity.
if (session == "ubuntu" || session == "gnome") {
setWindowState( windowState() | Qt::WindowFullScreen | Qt::WindowMaximized);
setWindowState( windowState() | Qt::WindowFullScreen);
setWindowFlags(Qt::Window | Qt::WindowStaysOnTopHint);
show();
} else {