disable maximize and windowed toggle while maximized on macOS
This commit is contained in:
parent
07e088faaa
commit
dce598afcf
2 changed files with 9 additions and 1 deletions
|
@ -131,7 +131,7 @@ void cfg_save()
|
|||
if (!g_config.save_settings)
|
||||
return;
|
||||
|
||||
/* Do not save settings while window is maxmized */
|
||||
/* Do not save settings while window is maximized */
|
||||
if (IsMacOS() && !g_config.window_rect.left && !g_config.window_rect.top)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue