Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: ecompmgr.c Log Message: Window shape must be clipped by window size. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ecompmgr.c,v retrieving revision 1.93 retrieving revision 1.94 diff -u -3 -r1.93 -r1.94 --- ecompmgr.c 8 Jan 2006 23:44:14 -0000 1.93 +++ ecompmgr.c 10 Jan 2006 23:03:31 -0000 1.94 @@ -992,6 +992,16 @@ border = ERegionCreateFromWindow(eo->win); + if (1 /* eo->shaped */ ) /* FIXME - Track shaped state */ + { + XserverRegion rgn; + + /* Intersect with window size to get effective bounding region */ + rgn = ERegionCreateRect(0, 0, eo->w, eo->h); + ERegionIntersect(border, rgn); + ERegionDestroy(rgn); + } + /* translate this */ x = eo->x + cw->a.border_width; y = eo->y + cw->a.border_width; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs