# HG changeset patch # User nenolod # Date 1160016444 25200 # Node ID 4d2a5c9adc969b6d72aa1b8af930c270c61eaefb # Parent 1ccc69c49768ac03e616b9241bc230fc0bf40b60 [svn] - this should be a continue not a return (oops) diff -r 1ccc69c49768 -r 4d2a5c9adc96 ChangeLog --- a/ChangeLog Wed Oct 04 19:45:14 2006 -0700 +++ b/ChangeLog Wed Oct 04 19:47:24 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-05 02:45:14 +0000 William Pitcock + revision [2543] + - do not draw widgets which are invisible (performance tweak) + + trunk/audacious/widgets/widget.c | 3 +++ + 1 file changed, 3 insertions(+) + + 2006-10-05 02:39:30 +0000 William Pitcock revision [2541] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints diff -r 1ccc69c49768 -r 4d2a5c9adc96 audacious/widgets/widget.c --- a/audacious/widgets/widget.c Wed Oct 04 19:45:14 2006 -0700 +++ b/audacious/widgets/widget.c Wed Oct 04 19:47:24 2006 -0700 @@ -118,7 +118,7 @@ widget_draw(Widget * widget) { if (widget->visible == FALSE) - continue; + return; widget_lock(widget); WIDGET(widget)->redraw = TRUE;