Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_events.c ewl_window.c Log Message: Remove debugging output and check for NULL pointers when assigning window coords. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_events.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- ewl_events.c 23 Mar 2006 02:58:54 -0000 1.24 +++ ewl_events.c 28 Mar 2006 12:25:38 -0000 1.25 @@ -231,12 +231,10 @@ */ if ((ev->from_wm) && (ev->x != window->x)) { window->x = ev->x; - printf("Window %p x position %d\n", window, ev->x); } if ((ev->from_wm) && (ev->y != window->y)) { window->y = ev->y; - printf("Window %p y position %d\n", window, ev->y); } ewl_widget_configure(EWL_WIDGET(window)); =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_window.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -3 -r1.37 -r1.38 --- ewl_window.c 23 Mar 2006 03:08:03 -0000 1.37 +++ ewl_window.c 28 Mar 2006 12:25:38 -0000 1.38 @@ -329,8 +329,10 @@ DCHECK_PARAM_PTR("win", win); DCHECK_TYPE("win", win, EWL_WINDOW_TYPE); - *x = win->x; - *y = win->y; + if (x) + *x = win->x; + if (y) + *y = win->y; #if 0 if (REALIZED(win)) { @@ -803,7 +805,10 @@ sinfo->info.depth = DefaultDepth(sinfo->info.display, DefaultScreen(sinfo->info.display)); sinfo->info.rotation = 0; - sinfo->info.debug = 0; + if (ewl_config.evas.render_debug) + sinfo->info.debug = 1; + else + sinfo->info.debug = 0; } else #endif ------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs