Enlightenment CVS committal Author : lordchaos Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_embed.c Log Message: * Avoid setting embed temp to NULL by checking parent =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_embed.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -3 -r1.37 -r1.38 --- ewl_embed.c 1 Jan 2006 00:40:24 -0000 1.37 +++ ewl_embed.c 2 Jan 2006 11:57:30 -0000 1.38 @@ -490,7 +490,7 @@ /* we want the focused and last clicked to be the parent widget, not * the internal children */ temp = widget; - while (temp && ewl_widget_internal_is(temp)) + while (temp && temp->parent && ewl_widget_internal_is(temp)) temp = temp->parent; ewl_embed_focused_widget_set(embed, temp); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs