Fixed cursor when opening thumb

This commit is contained in:
Bert 2011-02-17 17:38:48 +01:00
parent e2ef9b8323
commit f235b62741
1 changed files with 2 additions and 0 deletions

2
main.c
View File

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