Fixing SetWindowSize/SetDisplayMode (#1742)

Hey all!

Bug #1742 (http://bugzilla.libsdl.org/show_bug.cgi?id=1742 ) involves a
rather major change to the way SDL_SetWindowSize and SDL_SetDisplayMode
behave when in fullscreen mode (basically, they change the screen
resolution rather than doing nothing). Given that it’s on the
target-2.0.0 list, I guess you guys are okay with the change in theory,
and I’ve updated the patch and created a test program.

Does anyone want to try this out (I’ve only tested it on Linux/X11) and
see if (a) it works on your system and (b) you like the new behaviour?
This also fixes a couple of related problems (it being impossible to
directly switch from fullscreen mode ? fullscreen desktop mode and
similar), so I’d ideally like it to get in.

Thoughts?

? David

Yes, please try this out and let us know what you think!

Cheers,
–SamOn Wed, Jul 24, 2013 at 8:56 AM, David Gow wrote:

Hey all!

Bug #1742 (http://bugzilla.libsdl.org/**show_bug.cgi?id=1742http://bugzilla.libsdl.org/show_bug.cgi?id=1742) involves a rather major change to the way SDL_SetWindowSize and
SDL_SetDisplayMode behave when in fullscreen mode (basically, they change
the screen resolution rather than doing nothing). Given that it’s on the
target-2.0.0 list, I guess you guys are okay with the change in theory, and
I’ve updated the patch and created a test program.

Does anyone want to try this out (I’ve only tested it on Linux/X11) and
see if (a) it works on your system and (b) you like the new behaviour? This
also fixes a couple of related problems (it being impossible to directly
switch from fullscreen mode ? fullscreen desktop mode and similar), so I’d
ideally like it to get in.

Thoughts?

? David
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org