Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
text.c
Log Message:
Avoid crash with Absolute E theme.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/text.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- text.c 31 Mar 2004 19:08:20 -0000 1.33
+++ text.c 1 Apr 2004 23:12:24 -0000 1.34
@@ -821,6 +821,7 @@
switch (ts->style.orientation)
{
case FONT_TO_UP:
+ XSync(disp, False); /* Workaround for crash seen with Absolute E (Imlib2?)
*/
imlib_context_set_drawable(win);
ii = imlib_create_image_from_drawable(0, y, x, h, w, 0);
imlib_context_set_image(ii);
@@ -831,6 +832,7 @@
case FONT_TO_DOWN:
EGetGeometry(disp, win, &rr, &win_x, &win_y, &win_w, &win_h,
&win_b, &win_d);
+ XSync(disp, False); /* Workaround for crash seen with Absolute E (Imlib2?)
*/
imlib_context_set_drawable(win);
ii = imlib_create_image_from_drawable(0, win_w - y - h, x, h, w, 0);
imlib_context_set_image(ii);
@@ -839,6 +841,7 @@
imlib_render_image_on_drawable_at_size(0, 0, w, h);
break;
case FONT_TO_LEFT: /* Holy carumba! That's for yoga addicts, maybe .... */
+ XSync(disp, False); /* Workaround for crash seen with Absolute E (Imlib2?)
*/
imlib_context_set_drawable(win);
ii = imlib_create_image_from_drawable(0, x, y, w, h, 0);
imlib_context_set_image(ii);
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs