Better fullscreen support in OS X

Hi, guys. I found some issue in OS X fullscreen support. You can not
Command+Tab (Alt+Tab analogue) to desktop if window was created
with SDL_WINDOW_FULLSCREEN flag. I’ve read Apple docs a bit and found this-
https://developer.apple.com/library/mac/#documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_fullscreen/opengl_cgl.html.
It describes a new way for making fullscreen applications introduced in
Snow Leopard. What it is actually doing is creating screensized window
without border and sets Z-order to be before dock. The only problem was how
to make fullscreen applications in such way using other than screen-size
resolutions. But later I found this -
https://developer.apple.com/library/mac/documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_contexts/opengl_contexts.html#//apple_ref/doc/uid/TP40001987-CH216-SW28.
Setting custom backbuffer size is probably solving this issue. So what do
you think about all of this guys. Maybe I missed something? Because it
would be really great to have ability to minimize fullscreen apps.

Is this in reference to SDL 1.2?

Jonny DOn Mon, Nov 5, 2012 at 10:04 AM, Alexey Petruchik wrote:

Hi, guys. I found some issue in OS X fullscreen support. You can not
Command+Tab (Alt+Tab analogue) to desktop if window was created
with SDL_WINDOW_FULLSCREEN flag. I’ve read Apple docs a bit and found this

https://developer.apple.com/library/mac/#documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_fullscreen/opengl_cgl.html.
It describes a new way for making fullscreen applications introduced in
Snow Leopard. What it is actually doing is creating screensized window
without border and sets Z-order to be before dock. The only problem was how
to make fullscreen applications in such way using other than screen-size
resolutions. But later I found this -
https://developer.apple.com/library/mac/documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_contexts/opengl_contexts.html#//apple_ref/doc/uid/TP40001987-CH216-SW28.
Setting custom backbuffer size is probably solving this issue. So what do
you think about all of this guys. Maybe I missed something? Because it
would be really great to have ability to minimize fullscreen apps.


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

SDL2 currently suffers from this issue tooOn Mon, Nov 5, 2012 at 9:14 PM, Jonathan Dearborn wrote:

Is this in reference to SDL 1.2?

Jonny D

On Mon, Nov 5, 2012 at 10:04 AM, Alexey Petruchik wrote:

Hi, guys. I found some issue in OS X fullscreen support. You can not
Command+Tab (Alt+Tab analogue) to desktop if window was created
with SDL_WINDOW_FULLSCREEN flag. I’ve read Apple docs a bit and found this

https://developer.apple.com/library/mac/#documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_fullscreen/opengl_cgl.html.
It describes a new way for making fullscreen applications introduced in
Snow Leopard. What it is actually doing is creating screensized window
without border and sets Z-order to be before dock. The only problem was how
to make fullscreen applications in such way using other than screen-size
resolutions. But later I found this -
https://developer.apple.com/library/mac/documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_contexts/opengl_contexts.html#//apple_ref/doc/uid/TP40001987-CH216-SW28.
Setting custom backbuffer size is probably solving this issue. So what do
you think about all of this guys. Maybe I missed something? Because it
would be really great to have ability to minimize fullscreen apps.


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

I’m actually working on a fullscreen maximized mode for SDL 2.0 which will
do exactly this.

Cheers!On Mon, Nov 5, 2012 at 7:04 AM, Alexey Petruchik wrote:

Hi, guys. I found some issue in OS X fullscreen support. You can not
Command+Tab (Alt+Tab analogue) to desktop if window was created
with SDL_WINDOW_FULLSCREEN flag. I’ve read Apple docs a bit and found this

https://developer.apple.com/library/mac/#documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_fullscreen/opengl_cgl.html.
It describes a new way for making fullscreen applications introduced in
Snow Leopard. What it is actually doing is creating screensized window
without border and sets Z-order to be before dock. The only problem was how
to make fullscreen applications in such way using other than screen-size
resolutions. But later I found this -
https://developer.apple.com/library/mac/documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_contexts/opengl_contexts.html#//apple_ref/doc/uid/TP40001987-CH216-SW28.
Setting custom backbuffer size is probably solving this issue. So what do
you think about all of this guys. Maybe I missed something? Because it
would be really great to have ability to minimize fullscreen apps.


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

So just like with messagebox API request you are already working on it
again? Great! Looking forward to test this on my Mac.On Tue, Nov 6, 2012 at 7:37 AM, Sam Lantinga wrote:

I’m actually working on a fullscreen maximized mode for SDL 2.0 which will
do exactly this.

Cheers!

On Mon, Nov 5, 2012 at 7:04 AM, Alexey Petruchik wrote:

Hi, guys. I found some issue in OS X fullscreen support. You can not
Command+Tab (Alt+Tab analogue) to desktop if window was created
with SDL_WINDOW_FULLSCREEN flag. I’ve read Apple docs a bit and found this

https://developer.apple.com/library/mac/#documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_fullscreen/opengl_cgl.html.
It describes a new way for making fullscreen applications introduced in
Snow Leopard. What it is actually doing is creating screensized window
without border and sets Z-order to be before dock. The only problem was how
to make fullscreen applications in such way using other than screen-size
resolutions. But later I found this -
https://developer.apple.com/library/mac/documentation/graphicsimaging/Conceptual/OpenGL-MacProgGuide/opengl_contexts/opengl_contexts.html#//apple_ref/doc/uid/TP40001987-CH216-SW28.
Setting custom backbuffer size is probably solving this issue. So what do
you think about all of this guys. Maybe I missed something? Because it
would be really great to have ability to minimize fullscreen apps.


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