author | Sam Lantinga <slouken@libsdl.org> |
Wed, 02 Dec 2009 07:28:58 +0000 | |
changeset 3510 | 58cbfa81317a |
parent 3509 | 8fde6aeb58df |
child 3511 | 42cfa69e351b |
--- 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) {