[SDL] How to detect if the screen resolution changed? (windowed)
cuecax at gmail.com
Sat Feb 4 19:48:26 PST 2012
I tested this on OS X 10.7 and got no events.
I suppose that SDL send a RESIZED event only if the app is fullscreen.
But I did not test that, because I want to know the resolution change when my app is windowed.
I want to know that because I need to reposition some windows according to the new screen bounds...
> I'd assume SDL would get a window resize event (fired after you release the click from the resize, at least in the Microsoft windows manager)..
> On Sat, Feb 4, 2012 at 10:09 PM, RodrigoCard <cuecax at gmail.com (cuecax at gmail.com)> wrote:
> > How can I know when the screen resolution is changed (not in fullscreen mode) by the OS?
> > I searched in the documentation and cant find anything. =(
> > Thanks
> > _______________________________________________
> > SDL mailing list
> > SDL at lists.libsdl.org (SDL at lists.libsdl.org)
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org (http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL