Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
x.c
Log Message:
Fix shape bug.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/x.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -3 -r1.109 -r1.110
--- x.c 26 Sep 2005 17:32:10 -0000 1.109
+++ x.c 15 Oct 2005 20:27:32 -0000 1.110
@@ -923,6 +923,8 @@
xid->num_rect = 0;
XFree(xid->rects);
xid->rects = NULL;
+ XShapeCombineMask(disp, xid->win, ShapeBounding, 0, 0,
+ None, ShapeSet);
}
}
else if (xid->num_rect > 4096)
@@ -958,8 +960,8 @@
wasshaped = 1;
}
#if DEBUG_SHAPE_OPS
- Eprintf("ExShapeCombineMask %#lx %d,%d %dx%d wassh=%d\n", xid->win,
- xid->x, xid->y, xid->w, xid->h, wasshaped);
+ Eprintf("ExShapeCombineMask %#lx %d,%d %dx%d mask=%#lx wassh=%d\n",
+ xid->win, xid->x, xid->y, xid->w, xid->h, pmap, wasshaped);
#endif
if (pmap)
{
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs