Skip to content

Commit

Permalink
Fixed Mac OS X window level when leaving fullscreen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 15, 2014
1 parent 2216ab9 commit 26e8e38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -587,6 +587,8 @@ - (void)windowDidExitFullScreen:(NSNotification *)aNotification

inFullscreenTransition = NO;

[nswindow setLevel:kCGNormalWindowLevel];

if (pendingWindowOperation == PENDING_OPERATION_ENTER_FULLSCREEN) {
pendingWindowOperation = PENDING_OPERATION_NONE;
[self setFullscreenSpace:YES];
Expand Down

0 comments on commit 26e8e38

Please sign in to comment.