Commit 3078b2f7 authored by Timothée Giet's avatar Timothée Giet

osx, disable fullscreen default

parent 1e795c7d
......@@ -113,7 +113,9 @@ int main(int argc, char *argv[])
//add a variable to disable default fullscreen on Mac, see below..
bool isOnMac = false;
#if defined(Q_OS_MAC)
// Sandboxing on MacOSX as documented in:
......@@ -121,6 +123,7 @@ int main(int argc, char *argv[])
isOnMac = true;
// Local scope for config
......@@ -191,6 +194,10 @@ int main(int argc, char *argv[])
if(config.contains("General/fullscreen")) {
isFullscreen = config.value("General/fullscreen").toBool();
//Disable default fullscreen launch on Mac as it's a bit broken, window is behind desktop bars
if(isOnMac) {
isFullscreen = false;
// Set the cursor image
bool defaultCursor = false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment