Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_embed.c Log Message: - cleanup =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v retrieving revision 1.59 retrieving revision 1.60 diff -u -3 -r1.59 -r1.60 --- ewl_embed.c 24 May 2006 02:55:15 -0000 1.59 +++ ewl_embed.c 24 May 2006 03:59:52 -0000 1.60 @@ -1381,18 +1381,24 @@ ewl_object_state_remove(EWL_OBJECT(w), EWL_FLAG_STATE_PRESSED); - if ((w == e->last.focused) || (RECURSIVE(w) && ewl_widget_parent_of(w, e->last.focused))) { + if ((w == e->last.focused) + || (RECURSIVE(w) + && ewl_widget_parent_of(w, e->last.focused))) e->last.focused = NULL; - /*ewl_embed_focused_widget_set(e, NULL);*/ - } - if ((w == e->last.clicked) || (RECURSIVE(w) && ewl_widget_parent_of(w, e->last.clicked))) + if ((w == e->last.clicked) + || (RECURSIVE(w) + && ewl_widget_parent_of(w, e->last.clicked))) e->last.clicked = NULL; - if ((w == e->last.mouse_in) || (RECURSIVE(w) && ewl_widget_parent_of(w, e->last.mouse_in))) + if ((w == e->last.mouse_in) + || (RECURSIVE(w) + && ewl_widget_parent_of(w, e->last.mouse_in))) e->last.mouse_in = NULL; - if ((w == e->dnd_widget) || (RECURSIVE(w) && ewl_widget_parent_of(w, e->dnd_widget))) + if ((w == e->dnd_widget) + || (RECURSIVE(w) + && ewl_widget_parent_of(w, e->dnd_widget))) e->dnd_widget = NULL; DLEAVE_FUNCTION(DLEVEL_STABLE); ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs