Skip to content
Snippets Groups Projects
Commit bb46793c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Patch by aaptel: Support numpad keys for actions

parent d8d22aa3
No related branches found
No related tags found
No related merge requests found
git HEAD
* Patch by aaptel: Support numpad keys for actions
Thu May 6 08:34:39 CEST 2010 Daniel Friesel <derf@chaosdorf.de>
* Release v1.5
......
......@@ -228,33 +228,43 @@ void feh_event_handle_keypress(XEvent * ev)
feh_event_invoke_action(winwid, opt.actions[0]);
break;
case XK_0:
case XK_KP_0:
feh_event_invoke_action(winwid, opt.actions[0]);
break;
case XK_1:
case XK_KP_1:
feh_event_invoke_action(winwid, opt.actions[1]);
break;
case XK_2:
case XK_KP_2:
feh_event_invoke_action(winwid, opt.actions[2]);
break;
case XK_3:
case XK_KP_3:
feh_event_invoke_action(winwid, opt.actions[3]);
break;
case XK_4:
case XK_KP_4:
feh_event_invoke_action(winwid, opt.actions[4]);
break;
case XK_5:
case XK_KP_5:
feh_event_invoke_action(winwid, opt.actions[5]);
break;
case XK_6:
case XK_KP_6:
feh_event_invoke_action(winwid, opt.actions[6]);
break;
case XK_7:
case XK_KP_7:
feh_event_invoke_action(winwid, opt.actions[7]);
break;
case XK_8:
case XK_KP_8:
feh_event_invoke_action(winwid, opt.actions[8]);
break;
case XK_9:
case XK_KP_9:
feh_event_invoke_action(winwid, opt.actions[9]);
break;
case XK_KP_Left:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment