In article <[EMAIL PROTECTED]> you write: > You can change modes through the XFree86-VidModeExtension. >See the man page on XF86VidModeSwitchMode and friends. >Quake3, for instance, uses this to go full screen.
I've been wondering (and this seems as good a place as any to tack it on) how exactly an application 'goes to full screen'. One clear tactic is to use DGA. One other, which appears to be what xine does, is to create a normal window, but go to extreme (window manager specific) lengths to make sure it's undecorated, then use VidMode to change resolutions and put the viewport over the unornamented window. I wasn't completely able to piece together how xlockmore did it from its code. I've seen suggestions that Xv can also be used for some form of fullscreen mode, but nothing obvious in the code suggested itself to me. Does it generally come down to 'create an unornamented window and use VidMode'? Is there a good way to create an unornamented window? I suppose creating a large toplevel window with a black background and then using VidMode to only display a subwindow would work. Do people have specific tricks to do this sort of thing? -Jeremy. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
