mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Handle fullscreen case for cinnamon(Linux Mint)
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ void OutputGLWindow::setFullScreen(bool fullscreen)
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
// Special case for Unity.
|
||||
if (session == "ubuntu" || session == "gnome" || session == "default") {
|
||||
if (session == "ubuntu" || session == "cinnamon" || session == "default") {
|
||||
setWindowFlags(Qt::Window);
|
||||
setVisible(true);
|
||||
setWindowState( windowState() ^ Qt::WindowFullScreen );
|
||||
|
||||
Reference in New Issue
Block a user