mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-03 15:34:54 -05:00
[listview] Correctly check if hovered item is highlighted.
issue: 1423
This commit is contained in:
parent
cb12e6fc05
commit
137417dc6c
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ static gboolean listview_element_motion_notify(widget *wid,
|
|||
unsigned int i;
|
||||
for (i = 0; i < max && WIDGET(lv->boxes[i].box) != wid; i++) {
|
||||
}
|
||||
if (i < max && i != listview_get_selected(lv)) {
|
||||
if (i < max && (lv->last_offset + i) != listview_get_selected(lv)) {
|
||||
listview_set_selected(lv, lv->last_offset + i);
|
||||
}
|
||||
return TRUE;
|
||||
|
|
Loading…
Add table
Reference in a new issue