Commit 615000a3 authored by Sam Lantinga's avatar Sam Lantinga

Don't need to hide the menu bar if we're not on the main display

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404251
parent c1b86636
...@@ -255,7 +255,9 @@ Cocoa_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode) ...@@ -255,7 +255,9 @@ Cocoa_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode)
} }
/* Hide the menu bar so it doesn't intercept events */ /* Hide the menu bar so it doesn't intercept events */
HideMenuBar(); if (CGDisplayIsMain(displaydata->display)) {
HideMenuBar();
}
/* Fade in again (asynchronously) */ /* Fade in again (asynchronously) */
if (fade_token != kCGDisplayFadeReservationInvalidToken) { if (fade_token != kCGDisplayFadeReservationInvalidToken) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment