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:
parent
c4a4243616
commit
cd06d593b2
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue