fix widget invalidation

This commit is contained in:
Julien Danjou 2008-01-11 15:53:57 +01:00
parent f7ea8a1c50
commit 10f8493ffa
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,8 @@ widget_invalidate_cache(int screen, int flags)
statusbar; statusbar;
statusbar = statusbar->next) statusbar = statusbar->next)
for(widget = statusbar->widgets; widget; widget = widget->next) for(widget = statusbar->widgets; widget; widget = widget->next)
widget->cache.needs_update = (widget->cache.flags & flags); if(widget->cache.flags & flags)
widget->cache.needs_update = True;
} }
/** Send command to widget /** Send command to widget