Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: tooltips.c Log Message: CM: Fix tooltip shape change in certain situations. =================================================================== RCS file: /cvs/e/e16/e/src/tooltips.c,v retrieving revision 1.116 retrieving revision 1.117 diff -u -3 -r1.116 -r1.117 --- tooltips.c 11 Jul 2007 08:54:19 -0000 1.116 +++ tooltips.c 22 Jul 2007 14:39:14 -0000 1.117 @@ -597,16 +597,13 @@ for (i = 0; i < 5; i++) { eo = tt->win[i]; - if (eo) - ImageclassApply(tt->iclass[i], eo->win, EobjGetW(eo), EobjGetH(eo), - 0, 0, STATE_NORMAL, ST_TOOLTIP); + if (!eo) + continue; + ImageclassApply(tt->iclass[i], eo->win, EobjGetW(eo), EobjGetH(eo), + 0, 0, STATE_NORMAL, ST_TOOLTIP); + EobjShapeUpdate(eo, 0); + EobjMap(eo, 0); } - - for (i = 0; i < 5; i++) - if (tt->win[i]) - EobjMap(tt->win[i], 0); - - ESync(); xx = pad->left + iw; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs