mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-22 23:38:14 +00:00
Implement option to disable minimizing window on focus loss. Default behavior is not changed - not configuring these options unfocused window is minimized.
* Added config entry win:minimizeOnFocusLoss (default true).
This commit is contained in:

committed by
Geoffrey McRae

parent
4cf6dec592
commit
745ba66119
@@ -1102,7 +1102,7 @@ int run()
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (params.fullscreen)
|
||||
if (params.fullscreen || !params.minimizeOnFocusLoss)
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
||||
|
||||
if (!params.noScreensaver)
|
||||
@@ -1377,4 +1377,4 @@ int main(int argc, char * argv[])
|
||||
|
||||
config_free();
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user