On Sun, 4 Sep 2005, Joe Krahn wrote: > When I use the CVS defaults, only multi-window mode is built, so I > didn't see the #ifdef XWIN_MULTIWINDOW code compiled. Why is only one > version built? Is it rootless mode that gets excluded?
XWin has basicly 3 operation modes. windowed (includes -rootless and -fullscreen) -multiwindow -externalwm and -internalwm With rootless there is a name clash between the option -rootless (which does hide the root window only) and the XServer rootless extension. The rootless extension assigns every window its own small framebuffer rather than a global one which occupies the whole screen. so the XWIN_MULTIWINDOW refers to code specific to -multiwindow. XWIN_MULTIWINDOWEXTWM refers to the externalwm and internalwm code and the rootless extension. The rootless code is still not ready since it does crash easily because of memory access faults so it's not enable by default. Removing multiwindow support has also been handy when I ported to mingw and had no threads support. Disabling multiwindow and clipboard support also removed the pthread dependency. bye ago BTW: We always tried to maintain support for all windows systems until Win95 by providing alternative code paths if available. The GetProcAddress feature does help a lot. You should check out the code for EnumDisplayMonitors how this can be achieved. -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/