Hi,

Jamey Sharp wrote:
> When the server is built on Windows, ROOTLESS_PROTECT_ALPHA is defined
to NO, so rootless will protect the alpha channel. Counter-intuitive
to say the least

I've always applied this patch in Xming to match the __APPLE__ case and
remind me of the truth in the code...

--- ./miext/rootless/save_rootlessConfig.h      2010-05-20
17:31:07.000000000 +0100
+++ ./miext/rootless/rootlessConfig.h   2010-06-28 17:57:52.000000000 +0100
@@ -53,7 +53,7 @@
 #if defined(__CYGWIN__) || defined(WIN32)

 # define ROOTLESS_GLOBAL_COORDS TRUE
-# define ROOTLESS_PROTECT_ALPHA NO
+# define ROOTLESS_PROTECT_ALPHA TRUE
 # define ROOTLESS_REDISPLAY_DELAY 10
 # undef  ROOTLESS_RESIZE_GRAVITY
 # undef  ROOTLESS_TRACK_DAMAGE

I've never built Xwin without the ROOTLESS_PROTECT_ALPHA code and so would
be happy to have it hard-wired in.

Thanks,
Colin Harrison

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to