Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_evas Modified Files: ecore_evas_x.c Log Message: noooo. fixie fixie. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v retrieving revision 1.95 retrieving revision 1.96 diff -u -3 -r1.95 -r1.96 --- ecore_evas_x.c 13 Apr 2007 17:13:16 -0000 1.95 +++ ecore_evas_x.c 14 Apr 2007 04:20:23 -0000 1.96 @@ -898,6 +898,20 @@ #ifdef HAVE_ECORE_X_XCB #warning [XCB] No Region code #else + XRectangle xr; + Region tmpr; + + if (!ee->engine.x.damages) ee->engine.x.damages = XCreateRegion(); + tmpr = XCreateRegion(); + xr.x = e->x; + xr.y = e->y; + xr.width = e->w; + xr.height = e->h; + XUnionRectWithRegion(&xr, ee->engine.x.damages, tmpr); + XDestroyRegion(ee->engine.x.damages); + ee->engine.x.damages = tmpr; +/* no - this breaks things badly. disable. Ecore_X_Rectangle != XRectangle - see + * the typedefs in x's headers and ecore_x's. also same with Region - it's a pointer in x - not an X ID Ecore_X_Rectangle rect; Ecore_X_Region tmpr; @@ -910,6 +924,7 @@ XUnionRectWithRegion(&rect, ee->engine.x.damages, tmpr); XDestroyRegion(ee->engine.x.damages); ee->engine.x.damages = tmpr; + */ #endif /* HAVE_ECORE_X_XCB */ } else ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs