Krolyxon
Commit f235b62

Branches

Refs →

nsxivf235b62

Fixed cursor when opening thumb

Author
Bert
Date
2011-02-17 17:38 +0100
Parent
e2ef9b8
Commit
f235b62741c74879fbe7b784d60b7ee8981f77bb

+2 −0

1 file changed

  1. M main.c +2 −0
M main.c View
@@ -397,6 +397,7 @@ void on_keypress(XKeyEvent *kev) {
397397 fileidx = sel;
398398 load_image();
399399 mode = MODE_NORMAL;
400+ win_set_cursor(&win, CURSOR_ARROW);
400401 changed = 1;
401402 break;
402403
@@ -498,6 +499,7 @@ void on_buttonpress(XButtonEvent *bev) {
498499 fileidx = sel;
499500 load_image();
500501 mode = MODE_NORMAL;
502+ win_set_cursor(&win, CURSOR_ARROW);
501503 changed = 1;
502504 break;
503505 }