Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: session.c Log Message: Fix session id update. Add sanity check. =================================================================== RCS file: /cvs/e/e16/e/src/session.c,v retrieving revision 1.137 retrieving revision 1.138 diff -u -3 -r1.137 -r1.138 --- session.c 24 Aug 2006 20:32:20 -0000 1.137 +++ session.c 20 Oct 2006 20:09:29 -0000 1.138 @@ -439,17 +439,19 @@ Ecore_X_Window win; int num; - if (ewin->session_id) - { - Efree(ewin->session_id); - ewin->session_id = NULL; - } - /* We can comply with the ICCCM because gtk is working correctly */ if ((atom_change) && (!(atom_change == atom_sm_client_id || atom_change == atom_wm_client_leader))) return; + if (!atom_sm_client_id || !atom_wm_client_leader) + return; + + if (ewin->session_id) + { + Efree(ewin->session_id); + ewin->session_id = NULL; + } num = ecore_x_window_prop_window_get(EwinGetClientXwin(ewin), atom_wm_client_leader, &win, 1); ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs