1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[listview] Always do full update to update all theme elements.

fixes: #1032
This commit is contained in:
Dave Davenport 2019-11-23 16:23:58 +01:00
parent c4a4243616
commit cd06d593b2

View file

@ -356,7 +356,7 @@ static void barview_draw ( widget *wid, cairo_t *draw )
} }
else { else {
for ( unsigned int i = 0; i < lv->barview.cur_visible; i++ ) { for ( unsigned int i = 0; i < lv->barview.cur_visible; i++ ) {
update_element ( lv, i, i + offset, FALSE ); update_element ( lv, i, i + offset, TRUE);
widget_draw ( WIDGET ( lv->boxes[i].box ), draw ); widget_draw ( WIDGET ( lv->boxes[i].box ), draw );
} }
} }
@ -424,7 +424,7 @@ static void listview_draw ( widget *wid, cairo_t *draw )
} }
else { else {
for ( unsigned int i = 0; i < max; i++ ) { for ( unsigned int i = 0; i < max; i++ ) {
update_element ( lv, i, i + offset, FALSE ); update_element ( lv, i, i + offset, TRUE );
widget_draw ( WIDGET ( lv->boxes[i].box ), draw ); widget_draw ( WIDGET ( lv->boxes[i].box ), draw );
} }
} }