Icon update .diff

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Mon Sep 5 09:11:00 GMT 2005

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)
-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.

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.
 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/

More information about the Cygwin-xfree mailing list