fix widget invalidation
This commit is contained in:
parent
f7ea8a1c50
commit
10f8493ffa
3
widget.c
3
widget.c
|
@ -132,7 +132,8 @@ widget_invalidate_cache(int screen, int flags)
|
|||
statusbar;
|
||||
statusbar = statusbar->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
|
||||
|
|
Loading…
Reference in New Issue