Skip to content

Commit

Permalink
Backed out changeset ebdc0738b1b5 for bug 3697
Browse files Browse the repository at this point in the history
Eric Wasylishen

Unfortunately this commit seems to have broken exiting desktop-fullscreen.
- Launch testgl2.
- Press alt+enter to go fullscreen-desktop
- Press alt+enter again. The spinning cube will freeze, and the window stays fullscreen desktop.
  • Loading branch information
slouken committed Aug 2, 2017
1 parent e10a98d commit 6391cc3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -674,7 +674,6 @@ - (void)windowDidEnterFullScreen:(NSNotification *)aNotification
pendingWindowOperation = PENDING_OPERATION_NONE;
[self setFullscreenSpace:NO];
} else {
SetWindowStyle(window, 0);
if ((window->flags & SDL_WINDOW_FULLSCREEN_DESKTOP) == SDL_WINDOW_FULLSCREEN_DESKTOP) {
[NSMenu setMenuBarVisible:NO];
}
Expand Down

0 comments on commit 6391cc3

Please sign in to comment.