Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Don't need to hide the menu bar if we're not on the main display
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 2, 2009
1 parent cc74073 commit 051dd2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/video/cocoa/SDL_cocoamodes.m
Expand Up @@ -255,7 +255,9 @@ - (void) setFrame:(NSRect)frame;
}

/* Hide the menu bar so it doesn't intercept events */
HideMenuBar();
if (CGDisplayIsMain(displaydata->display)) {
HideMenuBar();
}

/* Fade in again (asynchronously) */
if (fade_token != kCGDisplayFadeReservationInvalidToken) {
Expand Down

0 comments on commit 051dd2e

Please sign in to comment.