mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 03:07:10 -05:00
Don't need to hide the menu bar if we're not on the main display
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user