Never mind. We can't use that: it's a brutal window management hack that grabs the window at creation and diddles its properties before the WM sees it (or maybe it's a hook into the WM implementation, same thing).
Note, by the way, that this is *not* actually capable of running SDL in fullscreen mode (i.e. at a custom resolution). This runs the fgfs binary as a *windowed* application, and then hacks around with the window properties such that the WM displays it fullscreen.
The only way to get SDL to change the video mode is to use
SDL_FULLSCREEN, and if you do that the only way you'll get back is via
SDL_Quit().
Ok, since you have your head into this at the moment: With X11, is it possible to run an SDL app in window (so it behaves well with the window manger) but in a window that fills the entire screen and is undecorated (so it looks "full screen")?
Regards,
Curt.
-- Curtis Olson Intelligent Vehicles Lab FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
