disable maximize and windowed toggle while maximized on macOS

This commit is contained in:
FunkyFr3sh 2024-10-03 04:50:49 +02:00
parent 07e088faaa
commit dce598afcf
2 changed files with 9 additions and 1 deletions

View file

@ -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;