소스 검색

cocoa: Patched to compile.

Ryan C. Gordon 2 달 전
부모
커밋
b537380065
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/video/cocoa/SDL_cocoaevents.m

+ 1 - 1
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 */
     }