Explorar el Código

Activate thumb-mode with Return key

master
Bert hace 14 años
padre
commit
76cca4ecb6
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. +12
    -0
      main.c

+ 12
- 0
main.c Ver fichero

@@ -378,6 +378,18 @@ void on_keypress(XKeyEvent *kev) {
}
break;

/* switch to thumnail mode */
case XK_Return:
if (options->thumbnails) {
if (fileidx < tns.cnt)
tns.sel = fileidx;
else
tns.sel = 0;
mode = MODE_THUMBS;
changed = 1;
}
break;

/* miscellaneous */
case XK_a:
img_toggle_antialias(&img);


Cargando…
Cancelar
Guardar