Fixed title-update in thumb mode
This commit is contained in:
parent
26eae8be96
commit
2bbdd2f5b9
2
main.c
2
main.c
|
@ -342,12 +342,12 @@ void on_buttonpress(XButtonEvent *bev) {
|
||||||
mode = MODE_IMAGE;
|
mode = MODE_IMAGE;
|
||||||
set_timeout(reset_cursor, TO_CURSOR_HIDE, 1);
|
set_timeout(reset_cursor, TO_CURSOR_HIDE, 1);
|
||||||
load_image(tns.sel);
|
load_image(tns.sel);
|
||||||
redraw();
|
|
||||||
} else {
|
} else {
|
||||||
tns_highlight(&tns, &win, tns.sel, False);
|
tns_highlight(&tns, &win, tns.sel, False);
|
||||||
tns_highlight(&tns, &win, sel, True);
|
tns_highlight(&tns, &win, sel, True);
|
||||||
tns.sel = sel;
|
tns.sel = sel;
|
||||||
}
|
}
|
||||||
|
redraw();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue