This commit is contained in:
Kovid Goyal 2019-05-12 16:00:02 +05:30
parent c95d3b19b3
commit 03e417e1be
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -380,7 +380,7 @@ static bool
toggle_fullscreen_for_os_window(OSWindow *w) {
if (w && w->handle) {
#ifdef __APPLE__
if (!OPT(macos_traditional_fullscreen) return glfwToggleFullscreen(w->handle, 0);
if (!OPT(macos_traditional_fullscreen)) return glfwToggleFullscreen(w->handle, 0);
return do_toggle_fullscreen(w);
#else
return do_toggle_fullscreen(w);