Fixed title-update in thumb mode

This commit is contained in:
Bert 2011-09-04 20:14:38 +02:00
parent 26eae8be96
commit 2bbdd2f5b9
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -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;