Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h x.c 


Log Message:
Add wrapper function.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.465
retrieving revision 1.466
diff -u -3 -r1.465 -r1.466
--- E.h 10 Jul 2005 08:30:46 -0000      1.465
+++ E.h 10 Jul 2005 14:05:23 -0000      1.466
@@ -2297,6 +2297,11 @@
                                     XWindowChanges * wc);
 void                ESetWindowBackgroundPixmap(Window win, Pixmap pmap);
 void                ESetWindowBackground(Window win, int col);
+int                 ETranslateCoordinates(Window src_w, Window dst_w,
+                                         int src_x, int src_y,
+                                         int *dest_x_return,
+                                         int *dest_y_return,
+                                         Window * child_return);
 
 #define ESelectInput(win, mask) XSelectInput(disp, win, mask)
 #define EGetWindowAttributes(win, attr) XGetWindowAttributes(disp, win, attr)
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/x.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -3 -r1.99 -r1.100
--- x.c 30 Jun 2005 12:57:34 -0000      1.99
+++ x.c 10 Jul 2005 14:05:25 -0000      1.100
@@ -829,6 +829,21 @@
       XSetWindowBackground(disp, win, col);
 }
 
+int
+ETranslateCoordinates(Window src_w, Window dst_w,
+                     int src_x, int src_y,
+                     int *dest_x_return,
+                     int *dest_y_return, Window * child_return)
+{
+   Window              child;
+
+   if (!child_return)
+      child_return = &child;
+
+   return XTranslateCoordinates(disp, src_w, dst_w, src_x, src_y,
+                               dest_x_return, dest_y_return, child_return);
+}
+
 void
 ESelectInputAdd(Window win, long mask)
 {




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to