Fixed cursor when opening thumb

This commit is contained in:
Bert 2011-02-17 17:38:48 +01:00
parent e2ef9b8323
commit f235b62741

2
main.c
View file

@ -397,6 +397,7 @@ void on_keypress(XKeyEvent *kev) {
fileidx = sel; fileidx = sel;
load_image(); load_image();
mode = MODE_NORMAL; mode = MODE_NORMAL;
win_set_cursor(&win, CURSOR_ARROW);
changed = 1; changed = 1;
break; break;
@ -498,6 +499,7 @@ void on_buttonpress(XButtonEvent *bev) {
fileidx = sel; fileidx = sel;
load_image(); load_image();
mode = MODE_NORMAL; mode = MODE_NORMAL;
win_set_cursor(&win, CURSOR_ARROW);
changed = 1; changed = 1;
break; break;
} }