Browse Source

Fixed cursor when opening thumb

master
Bert 14 years ago
parent
commit
f235b62741
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      main.c

+ 2
- 0
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;
} }


Loading…
Cancel
Save