From 7f371c78082be168c9bc52eb4f52d16e81d56501 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 10 Jul 2025 16:27:47 -0400 Subject: [PATCH] cocoa: Patched to compile. (cherry picked from commit b5373800651bbfebdfe377696bc47263de5b8f32) --- src/video/cocoa/SDL_cocoaevents.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/cocoa/SDL_cocoaevents.m b/src/video/cocoa/SDL_cocoaevents.m index c086812e87..39c5c4f388 100644 --- a/src/video/cocoa/SDL_cocoaevents.m +++ b/src/video/cocoa/SDL_cocoaevents.m @@ -294,7 +294,7 @@ static void Cocoa_DispatchEvent(NSEvent *theEvent) hidden dock if you're moving the mouse during launch, so change the default behaviour there. https://github.com/libsdl-org/SDL/issues/10340 (13.6 still needs it, presumably 13.7 does, too.) */ - SDL_bool background_app_default = SDL_FALSE + SDL_bool background_app_default = SDL_FALSE; if (@available(macOS 14.0, *)) { background_app_default = SDL_TRUE; /* by default, don't explicitly activate the dock and then us again to force to foreground */ }