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:
Rokas Kupstys
2019-07-01 10:53:12 +03:00
committed by Geoffrey McRae
parent 4cf6dec592
commit 745ba66119
4 changed files with 33 additions and 22 deletions

View File

@@ -82,6 +82,7 @@ struct AppParams
bool borderless;
bool fullscreen;
bool maximize;
bool minimizeOnFocusLoss;
bool center;
int x, y;
unsigned int w, h;
@@ -129,4 +130,4 @@ struct KeybindHandle
// forwards
extern struct AppState state;
extern struct AppParams params;
extern struct AppParams params;