Hello Terry, On 12/01/2012 10:55 PM, Terry Welsh wrote:
Hi Jan, Thanks for the insight. Press Alt-Enter to switch to windowed mode.
That isn't really obvious to find, neither the switch to windowed mode - shouldn't that be in the options somewhere?
Regarding the SDL problem - I think the only reliable way to get around this is to *not* use the buggy full screen functionality in SDL. Unfortunately SDL uses xrandr to determine the screen size and that doesn't report that the screen is actually two monitors, but that there is one screen 3840x1200 in size (in my case). I think that has to do with the Nvidia's Twinview - Xinerama interaction.
A better solution is to request an undecorated window with the size of the screen (and let user pick the resolution in the settings!) instead and set it to be on top. That pretty much does the same thing as full screen setting.
Mouse can be always grabbed, that is not a problem. Even though it is quite evil in windowed mode - make sure that there is a key or something to ungrab if you need to pause the game and switch to another window temporarily. That is another common usability issue in Linux game ports.
As I said before, these are really common problems with many Linux games, because most people simply assume that SDL works - except it doesn't always :(
Regards, Jan _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

