Sdl 2.0.2 rc1

FYI: just added a hint to opt out of the new Spaces code. We’d like
people to try it and report bugs, but still have an exit strategy if it
totally doesn’t work for you, or you can’t handle a resizable window
having a fullscreen button, etc.

–ryan.

There’s a couple of serious issues around CreateTexture and CreateTextureFromSurface on 2.01 which I’ve put into bugzilla. Would be nice to have those fixed.

Will this be fixed before 2.0.2?s release? I noticed 2.0.2 got tagged on Mercurial a few minutes ago…On Mar 3, 2014, at 1:31 PM, Ryan C. Gordon wrote:

  • If I?
  • create a windowed window,
  • use SDL_SetWindowFullscreen to go into fullscreen-desktop mode,
  • command-tab away, command-tab back,
  • and then use SDL_SetWindowFullscreen again to go back to windowed mode,
    the window will now be ?above? a lot of things, including the program list visible when command-tab is held. It seems like the window is still set to the ?shielding? window level, even though it?s in windowed mode so it shouldn?t be.

Your diagnosis is correct, I’ll fix this today.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

No, it’ll be fixed after the 2.0.2 release.On Fri, Mar 7, 2014 at 11:37 PM, Alex Szpakowski wrote:

Will this be fixed before 2.0.2’s release? I noticed 2.0.2 got tagged on
Mercurial a few minutes ago…

On Mar 3, 2014, at 1:31 PM, Ryan C. Gordon wrote:

  • If I…
  • create a windowed window,
  • use SDL_SetWindowFullscreen to go into fullscreen-desktop mode,
  • command-tab away, command-tab back,
  • and then use SDL_SetWindowFullscreen again to go back to windowed
    mode,

the window will now be “above” a lot of things, including the program
list visible when command-tab is held. It seems like the window is still
set to the “shielding” window level, even though it’s in windowed mode so
it shouldn’t be.

Your diagnosis is correct, I’ll fix this today.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

This is a major breaking issue for me, so I?ve made a hacky quick-fix for myself which seems to work OK (after only a couple minutes of testing though.)

If anyone else is interested, it just adds one line - but it might not consider some scenarios.

diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m
— a/src/video/cocoa/SDL_cocoawindow.m
+++ b/src/video/cocoa/SDL_cocoawindow.m
@@ -587,6 +587,8 @@

 inFullscreenTransition = NO;
  • [nswindow setLevel:NSNormalWindowLevel];+
    if (pendingWindowOperation == PENDING_OPERATION_ENTER_FULLSCREEN) {
    pendingWindowOperation = PENDING_OPERATION_NONE;
    [self setFullscreenSpace:YES];

On Mar 8, 2014, at 3:42 AM, Sam Lantinga wrote:

No, it’ll be fixed after the 2.0.2 release.

On Fri, Mar 7, 2014 at 11:37 PM, Alex Szpakowski <@Alex_Szpakowski> wrote:
Will this be fixed before 2.0.2?s release? I noticed 2.0.2 got tagged on Mercurial a few minutes ago…

On Mar 3, 2014, at 1:31 PM, Ryan C. Gordon wrote:

  • If I?
  • create a windowed window,
  • use SDL_SetWindowFullscreen to go into fullscreen-desktop mode,
  • command-tab away, command-tab back,
  • and then use SDL_SetWindowFullscreen again to go back to windowed mode,
    the window will now be ?above? a lot of things, including the program list visible when command-tab is held. It seems like the window is still set to the ?shielding? window level, even though it?s in windowed mode so it shouldn?t be.

Your diagnosis is correct, I’ll fix this today.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org