Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        text.c 


Log Message:
Avoid trashing root.win.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/text.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- text.c      20 Mar 2004 15:49:05 -0000      1.32
+++ text.c      31 Mar 2004 19:08:20 -0000      1.33
@@ -816,6 +816,7 @@
    Imlib_Image        *ii = NULL;
    int                 win_x, win_y;
    unsigned int        win_w, win_h, win_b, win_d;
+   Window              rr;
 
    switch (ts->style.orientation)
      {
@@ -828,7 +829,7 @@
        imlib_render_image_on_drawable_at_size(0, 0, w, h);
        break;
      case FONT_TO_DOWN:
-       EGetGeometry(disp, win, &(root.win), &win_x, &win_y, &win_w, &win_h,
+       EGetGeometry(disp, win, &rr, &win_x, &win_y, &win_w, &win_h,
                     &win_b, &win_d);
        imlib_context_set_drawable(win);
        ii = imlib_create_image_from_drawable(0, win_w - y - h, x, h, w, 0);
@@ -859,6 +860,7 @@
    Imlib_Image        *ii = NULL;
    int                 win_x, win_y;
    unsigned int        win_w, win_h, win_b, win_d;
+   Window              rr;
 
    switch (ts->style.orientation)
      {
@@ -872,7 +874,7 @@
        break;
      case FONT_TO_DOWN:
        imlib_context_set_drawable(drawable);
-       EGetGeometry(disp, win, &(root.win), &win_x, &win_y, &win_w, &win_h,
+       EGetGeometry(disp, win, &rr, &win_x, &win_y, &win_w, &win_h,
                     &win_b, &win_d);
        ii = imlib_create_image_from_drawable(0, 0, 0, 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

Reply via email to