[Commits] SDL: Backed out changeset 81e6d0f852fc for bug 3697

libsdl.org revision control commits-owner at libsdl.org
Tue Aug 1 20:09:31 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/879cacfe85c2
changeset: 11172:879cacfe85c2
user:      Sam Lantinga <slouken at libsdl.org>
date:      Tue Aug 01 20:09:23 2017 -0700
description:
Backed out changeset 81e6d0f852fc for bug 3697

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.

diffstat:

 src/video/cocoa/SDL_cocoawindow.m |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 6f6e8880cd37 -r 879cacfe85c2 src/video/cocoa/SDL_cocoawindow.m
--- a/src/video/cocoa/SDL_cocoawindow.m	Mon Jul 31 12:57:15 2017 -0700
+++ b/src/video/cocoa/SDL_cocoawindow.m	Tue Aug 01 20:09:23 2017 -0700
@@ -674,7 +674,6 @@
         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];
         }


More information about the commits mailing list