aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-04 20:14:38 +0200
committerBert <ber.t@gmx.com>2011-09-04 20:14:38 +0200
commit2bbdd2f5b9529ab7cebd8fafa5cd4aa491a24010 (patch)
tree4ace8817ea481b647a9a1f0d0e8d4f20e826b67b
parent26eae8be966ab8e7ef940806077b56bbc7c191bc (diff)
Fixed title-update in thumb mode
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 8aec947..f756e0c 100644
--- a/main.c
+++ b/main.c
@@ -342,12 +342,12 @@ void on_buttonpress(XButtonEvent *bev) {
mode = MODE_IMAGE;
set_timeout(reset_cursor, TO_CURSOR_HIDE, 1);
load_image(tns.sel);
- redraw();
} else {
tns_highlight(&tns, &win, tns.sel, False);
tns_highlight(&tns, &win, sel, True);
tns.sel = sel;
}
+ redraw();
break;
}
break;