mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fixed bug #99 about exiting fullscreen
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user