The main window should be resizable. For now (version 0.37) the user has to restart the program from scratch to be able to change the rendering window size.
Moreover, this prevents proper fullscreen mode on a multimonitor X11 system. Your custom fullscreenizing code does OpenGL viewport positioning wrong (half of the viewport appears on one monitor, half on the other; the rest of both screens stays plain gray), while the proper, external and setup-sensitive, fullscreenizing by X11 Window Manager cannot operate on non-resizable windows.
Comment #1
Posted on Feb 19, 2012 by Grumpy RabbitHi.
The main window is resizeable in development version 0.38.
I am not sure why you are getting the view spread across 2 monitors in full-screen mode (-f?). I might need some more details about your video card/monitor setup and what command line you are using. If you specify the dimensions of one of the monitors I would expect SDL would use fullscreen on only one monitor.
Unfortunately the SDL 1.2 API has basically no support for controlling the behaviour on a multi-monitor setup.
Cheers
Andrew
Comment #2
Posted on Feb 20, 2012 by Swift KangarooHi,
The main window is resizeable in development version 0.38. Nice. I used 0.37.
I might need some more details about your video card/monitor setup and what command line you are using.
xrandr output: Screen 0: minimum 320 x 200, current 2960 x 1420, maximum 8192 x 8192 LVDS1 connected 1280x800+1680+620 (normal left inverted right x axis y axis) 331mm x 207mm VGA1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
gource commandline: ./gource --seconds-per-day 1 --auto-skip-seconds 2 -f -1680x1050 ../a-project
If you specify the dimensions of one of the monitors I would expect SDL would use fullscreen on only one monitor. Nope, this was not the case. (And exactly this is one of the reasons why I'm so zealous about WM-managed fullscreen: because such assumptions tend to be unreliable and lead to broken fullscreen in applications. IMO, application developer should completely delegate the fullscreenizing logic to the WM.)
Anyways, I'm completely happy with main window being resizable in 0.38. Oh, and thanks for the nice software btw.
Regards
Comment #3
Posted on Apr 21, 2012 by Grumpy Rabbit(No comment was entered for this change.)
Status: Done
Labels:
Type-Defect
Priority-Medium