Be more intelligent about screen size
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
The default window- or fullscreen-size of 800x600 (or the user's current size choice) may be larger than the current desktop size (windowed) or available mode (fullscreen).
Example: Original model ASUS EeePCs are 800x480. On distros people put on the EeePC (to replace the Xandros it comes with), Tux Paint tries to open in 800x600 windowed mode. It should detect that 800x600 is too large, and drop down to 800x480 and fullscreen mode.
Ubuntu bug on netbook screens: https://bugs.edge.launchpad.net/ubuntu/+source/tuxpaint/+bug/300780
"The window of tuxpaint extends beyond bottom screen border when used on a Netbook (Acer Aspire One A110L) with screen size 1024x600."
SDL_GetVideoInfo() and/or SDL_VideoModeOK() are probably what we need to use. Will investigate when I have the time.
Under SDL2 it'd be https://wiki.libsdl.org/SDL_GetDisplayMode
https://sourceforge.net/p/tuxpaint/tuxpaint/ci/51c270b5198e2cb73ba0b826356f6a8d92ff6f0c/