From 147d40ba98d0cab3192e097a2dd1ba192b5862ff Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 2 Dec 2009 07:28:58 +0000 Subject: [PATCH] Don't need to hide the menu bar if we're not on the main display --- src/video/cocoa/SDL_cocoamodes.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video/cocoa/SDL_cocoamodes.m b/src/video/cocoa/SDL_cocoamodes.m index 2e507df47..fc67a485a 100644 --- a/src/video/cocoa/SDL_cocoamodes.m +++ b/src/video/cocoa/SDL_cocoamodes.m @@ -255,7 +255,9 @@ Cocoa_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode) } /* Hide the menu bar so it doesn't intercept events */ - HideMenuBar(); + if (CGDisplayIsMain(displaydata->display)) { + HideMenuBar(); + } /* Fade in again (asynchronously) */ if (fade_token != kCGDisplayFadeReservationInvalidToken) {