Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: x.c Log Message: Fix redundant window ID lookup. =================================================================== RCS file: /cvs/e/e16/e/src/x.c,v retrieving revision 1.123 retrieving revision 1.124 diff -u -3 -r1.123 -r1.124 --- x.c 17 Apr 2006 21:55:34 -0000 1.123 +++ x.c 18 Apr 2006 17:53:15 -0000 1.124 @@ -199,16 +199,18 @@ xid = EXidFind(win); if (!xid) - ERegisterWindow(win); - xid = EXidFind(win); + { + ERegisterWindow(win); + xid = EXidFind(win); + if (!xid) + { + Eprintf("EventCallbackRegister win=%#lx ???\n", win); + return; + } + } #if 0 Eprintf("EventCallbackRegister: %p %#lx\n", xid, win); #endif - if (!xid) - { - Eprintf("EventCallbackRegister win=%#lx ???\n", win); - return; - } xid->cbl.num++; xid->cbl.lst = ------------------------------------------------------- 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