> I can't see why that patch fixes anything. Me also ^ ^ I played thus with gdb and I realized that occurred if the height and the length of the temporary destination shadow pixmap are 32 multiple (depth?). If one or the other is not a 32 multiple so the problem disappears. Perhaps a xorg composite bug, which is not present in Xgl. I don't know enough the Xorg composite module to correct this. I remade only one stupid patch in compiz to fix the problem :P. If you find the problem origin I would be happy to know it.
gandalfn ps: "32 multiple" is correct in English ?
From abf9d0b9c431f56e3fe88cb5a22b2f5e7b41e92e Mon Sep 17 00:00:00 2001
From: Nicolas Bruguier <[EMAIL PROTECTED](none)>
Date: Tue, 12 Dec 2006 22:59:22 +0100
Subject: [PATCH] Fix no border window shadow
---
libdecoration/decoration.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libdecoration/decoration.c b/libdecoration/decoration.c
index 001757d..b6f0572 100644
--- a/libdecoration/decoration.c
+++ b/libdecoration/decoration.c
@@ -1049,7 +1049,9 @@ decor_create_shadow (Display *xdisp
}
/* create pixmap for temporary decorations */
- d_pixmap = XCreatePixmap (xdisplay, xroot, d_width, d_height, 32);
+ d_pixmap = XCreatePixmap (xdisplay, xroot,
+ (d_width % 32) ? d_width : d_width + 1,
+ d_height, 32);
if (!d_pixmap)
{
XFreePixmap (xdisplay, pixmap);
--
1.4.1
signature.asc
Description: Ceci est une partie de message numériquement signée
_______________________________________________ compiz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/compiz
