Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        tclass.c 


Log Message:
Oops - do it properly.

===================================================================
RCS file: /cvs/e/e16/e/src/tclass.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- tclass.c    8 May 2006 16:26:22 -0000       1.45
+++ tclass.c    8 May 2006 17:11:46 -0000       1.46
@@ -547,13 +547,14 @@
      {
        if (tc)
          {
+            Window              xwin;
+            Win                 win;
             int                 state;
             int                 x, y;
             const char         *txt;
-            Window              win;
 
             word(params, 3, param3);
-            win = (Window) strtoul(param3, NULL, 0);
+            xwin = (Window) strtoul(param3, NULL, 0);
 
             word(params, 4, param3);
             x = atoi(param3);
@@ -575,10 +576,13 @@
             if (!txt)
                return;
 
-            if (!EDrawableCheck(win, 0))       /* Grab server? */
+            win = ECreateWinFromXwin(xwin);
+            if (!win)
                return;
-            TextDraw(tc, NULL, win, 0, 0, state, txt, x, y, 99999, 99999, 17,
+
+            TextDraw(tc, win, None, 0, 0, state, txt, x, y, 99999, 99999, 17,
                      0);
+            EDestroyWin(win);
          }
      }
    else if (!strcmp(param2, "query_size"))




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to