Enlightenment CVS committal Author : kwo Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib Modified Files: api.c Log Message: Avoid useless graphics exposure events from imlib_create_scaled_image_from_drawable(). =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/api.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- api.c 20 Sep 2005 16:56:42 -0000 1.3 +++ api.c 27 Dec 2005 22:36:25 -0000 1.4 @@ -2208,15 +2208,18 @@ source_height, ctx->depth); gcv.foreground = 0; gcv.subwindow_mode = IncludeInferiors; + gcv.graphics_exposures = False; if (domask) { m = XCreatePixmap(ctx->display, ctx->drawable, destination_width, source_height, 1); - mgc = XCreateGC(ctx->display, m, GCForeground, &gcv); + mgc = XCreateGC(ctx->display, m, + GCForeground | GCGraphicsExposures, &gcv); } else m = None; - gc = XCreateGC(ctx->display, ctx->drawable, GCSubwindowMode, &gcv); + gc = XCreateGC(ctx->display, ctx->drawable, + GCSubwindowMode | GCGraphicsExposures, &gcv); if ((domask) && (!mask)) { XRectangle *rect; ------------------------------------------------------- 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