From: Daniel Caujolle-B. <f1...@us...> - 2003-11-09 15:55:15
|
Update of /cvsroot/xine/xine-ui/src/xitk/xine-toolkit In directory sc8-pr-cvs1:/tmp/cvs-serv4104/xine-toolkit Modified Files: widget.c Log Message: fix lockup with menu focus settings Index: widget.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/xine-toolkit/widget.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- widget.c 18 Jul 2003 21:34:40 -0000 1.55 +++ widget.c 9 Nov 2003 15:55:12 -0000 1.56 @@ -1232,7 +1232,10 @@ } /* next widget will be focused */ - if(widget == wl->widget_focused) { + if((widget == wl->widget_focused) || + (widget && wl->widget_focused && + (((wl->widget_focused->type & WIDGET_GROUP_MASK) == WIDGET_GROUP_MENU) + && (wl->widget_focused->type & WIDGET_GROUP_WIDGET)))) { xitk_widget_t *next_widget; if ((wl->widget_focused->type & WIDGET_FOCUSABLE) && |