This commit is contained in:
Kovid Goyal 2021-11-11 13:56:18 +05:30
parent 60e91b018a
commit 91a24dd2eb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -592,7 +592,7 @@ static bool
toggle_fullscreen_for_os_window(OSWindow *w) {
if (w && w->handle) {
#ifdef __APPLE__
if (!OPT(macos_traditional_fullscreen)) do_toggle_fullscreen(w, 1, false);
if (!OPT(macos_traditional_fullscreen)) return do_toggle_fullscreen(w, 1, false);
#endif
return do_toggle_fullscreen(w, 0, true);
}