Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_window.c
Log Message:
- remove dead code
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_window.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- ewl_window.c 28 Mar 2006 12:25:38 -0000 1.38
+++ ewl_window.c 29 Mar 2006 14:36:48 -0000 1.39
@@ -329,29 +329,8 @@
DCHECK_PARAM_PTR("win", win);
DCHECK_TYPE("win", win, EWL_WINDOW_TYPE);
- if (x)
- *x = win->x;
- if (y)
- *y = win->y;
-
-#if 0
- if (REALIZED(win)) {
- int fx=0,fy=0,cx,cy;
- Ecore_X_Window window = (Ecore_X_Window)win->window;
-
- while (ecore_x_window_parent_get(window) > 0) {
- ecore_x_window_geometry_get(window, &cx, &cy, NULL,
NULL);
- fx += cx; fy += cy;
-
- //printf ("(%d:%d:%d:%d) Scanning to parent of %d\n",
h, window);
- window = ecore_x_window_parent_get(window);
-
- }
-
- *x = fx;
- *y = fy;
- }
-#endif
+ if (x) *x = win->x;
+ if (y) *y = win->y;
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs