Fixed cursor hiding after switching to thumb mode

This commit is contained in:
Bert 2011-02-21 18:37:24 +01:00
parent fde9f5bf85
commit 88b5c5f2e4

1
main.c
View file

@ -391,6 +391,7 @@ void on_keypress(XKeyEvent *kev) {
tns_init(&tns, filecnt); tns_init(&tns, filecnt);
mode = MODE_THUMBS; mode = MODE_THUMBS;
win_set_cursor(&win, CURSOR_ARROW); win_set_cursor(&win, CURSOR_ARROW);
hidecur = 0;
tns.sel = fileidx; tns.sel = fileidx;
changed = tns.dirty = 1; changed = tns.dirty = 1;
break; break;