# HG changeset patch # User ib # Date 1301943066 0 # Node ID 64d19aaf624afe704cebbc0ebd584b3517169a04 # Parent 6328f0baeaa922d212d4201fadd7a569205b7ee2 Revert r33214. According to the documentation transparent regions in the image appear black on X servers without the XShape extension. diff -r 6328f0baeaa9 -r 64d19aaf624a gui/util/bitmap.c --- a/gui/util/bitmap.c Mon Apr 04 18:35:25 2011 +0000 +++ b/gui/util/bitmap.c Mon Apr 04 18:51:06 2011 +0000 @@ -242,8 +242,10 @@ if (buf[i] != transparent) tmp |= 0x80; - else + else { + buf[i] = 0; shaped = 1; + } if (++b == 8) { out->Image[c++] = tmp;