Fixed cursor when opening thumb
This commit is contained in:
parent
e2ef9b8323
commit
f235b62741
2
main.c
2
main.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue