# Sdl 2.0.2 rc1

**URL:** <https://discourse.libsdl.org/t/sdl-2-0-2-rc1/20434>\
**Category:** SDL Development\
**Created:** [March 1, 2014, 7:53pm UTC](https://discourse.libsdl.org/t/sdl-2-0-2-rc1/20434 "2014-03-01T19:53:31Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![icculus](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/icculus/32/81_2.png) [@icculus](https://discourse.libsdl.org/u/icculus)\
**Post date:** [March 4, 2014, 2:53am UTC](https://discourse.libsdl.org/t/sdl-2-0-2-rc1/20434/23 "2014-03-04T02:53:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mattbentley](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/85e7bf/32.png) [@mattbentley](https://discourse.libsdl.org/u/mattbentley)\
**Post date:** [March 4, 2014, 6:24am UTC](https://discourse.libsdl.org/t/sdl-2-0-2-rc1/20434/24 "2014-03-04T06:24:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![slime](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/slime/32/3845_2.png) [@slime](https://discourse.libsdl.org/u/slime)\
**Post date:** [March 8, 2014, 7:37am UTC](https://discourse.libsdl.org/t/sdl-2-0-2-rc1/20434/25 "2014-03-08T07:37:37Z")

</div>

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)  
> [http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [March 8, 2014, 7:42am UTC](https://discourse.libsdl.org/t/sdl-2-0-2-rc1/20434/26 "2014-03-08T07:42:47Z")

</div>

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)  
> > [http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)
> 
> * * *
> 
> SDL mailing list  
> SDL at [lists.libsdl.org](http://lists.libsdl.org)  
> [http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)

---

<div class="post-metadata">

**Author:** ![slime](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/slime/32/3845_2.png) [@slime](https://discourse.libsdl.org/u/slime)\
**Post date:** [March 8, 2014, 8:05am UTC](https://discourse.libsdl.org/t/sdl-2-0-2-rc1/20434/27 "2014-03-08T08:05:48Z")

</div>

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)  
> > [http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)
> 
> * * *
> 
> SDL mailing list  
> SDL at [lists.libsdl.org](http://lists.libsdl.org)  
> [http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)
> 
> * * *
> 
> SDL mailing list  
> SDL at [lists.libsdl.org](http://lists.libsdl.org)  
> [http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)

[Previous page](https://discourse.libsdl.org/t/sdl-2-0-2-rc1/20434.md?page=1)
