diff src/video/cocoa/SDL_cocoamodes.m @ 3510:58cbfa81317a

Don't need to hide the menu bar if we're not on the main display
author Sam Lantinga <slouken@libsdl.org>
date Wed, 02 Dec 2009 07:28:58 +0000
parents a1bf34bc2a58
children b66c9e8090d4
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoamodes.m	Wed Dec 02 07:25:06 2009 +0000
+++ b/src/video/cocoa/SDL_cocoamodes.m	Wed Dec 02 07:28:58 2009 +0000
@@ -255,7 +255,9 @@
     }
 
     /* Hide the menu bar so it doesn't intercept events */
-    HideMenuBar();
+    if (CGDisplayIsMain(displaydata->display)) {
+        HideMenuBar();
+    }
 
     /* Fade in again (asynchronously) */
     if (fade_token != kCGDisplayFadeReservationInvalidToken) {