Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
E.h x.c
Log Message:
Add GetWinParent() for debugging.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -3 -r1.236 -r1.237
--- E.h 1 Apr 2004 22:48:32 -0000 1.236
+++ E.h 4 Apr 2004 21:30:58 -0000 1.237
@@ -2687,6 +2687,7 @@
void GetWinXY(Window win, int *x, int *y);
void GetWinWH(Window win, unsigned int *w, unsigned int *h);
int GetWinDepth(Window win);
+Window GetWinParent(Window win);
int WinExists(Window win);
Window WindowAtXY_0(Window base, int bx, int by, int x, int y);
Window WindowAtXY(int x, int y);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/x.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -3 -r1.66 -r1.67
--- x.c 20 Mar 2004 15:49:05 -0000 1.66
+++ x.c 4 Apr 2004 21:30:59 -0000 1.67
@@ -742,6 +742,20 @@
EDBUG_RETURN_;
}
+Window
+GetWinParent(Window win)
+{
+ EXID *xid;
+
+ EDBUG(7, "GetWinParent");
+
+ xid = FindXID(win);
+ if (xid)
+ return xid->parent;
+
+ EDBUG_RETURN(0);
+}
+
void
GetWinWH(Window win, unsigned int *w, unsigned int *h)
{
-------------------------------------------------------
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