Curtis L. Olson wrote: > So I still don't understand, is SDL unable to open a window covering > the entire desktop but with no window decorations? Or can this be > done?
No. Well, yes. It's complicated. :) SDL *is* opening a window covering the entire desktop but with no window decorations. But it is also setting the video mode at the same time (even if the actual hardware mode technically doesn't change because you asked for the desktop resolution). The normal action when the user presses alt-tab (or any of the other desktop-global keystrokes) is for the window manager to assert control and do stuff like minimize the fullscreen window, change keyboard focus, etc... But if the mode is changed, it won't be reset and the user will be left with a confusing partial desktop on the screen. So as a safety feature, SDL *also* does a keyboard grab, to prevent the window manager from taking any action that will confuse the user. But that's a symptom, not the problem; a proper fix would not be to eliminate the keyboard grab, but to work with the window manager to enforce a policy like "always set the video mode to XXX when this application is mapped and has the keyboard focus". To my knowlege, no work has been done on such a window management protocol. Maybe that's where we should start... Andy _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
