diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-28 12:43:49 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-28 12:43:49 +0200 |
commit | c62ed936884ea0bcc6ce358ff3588a63b0821027 (patch) | |
tree | b7c624e06eda0980e4603a7b3c41ab5bbbcc8a6d | |
parent | bb46793cb2a52b7d0c85c05e360e01cdeed88cee (diff) |
Support keypad return/enter for action as well
-rw-r--r-- | src/keyevents.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index c6028ca..f0564bc 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -225,8 +225,7 @@ void feh_event_handle_keypress(XEvent * ev) slideshow_change_image(winwid, SLIDE_LAST); break; case XK_Return: - feh_event_invoke_action(winwid, opt.actions[0]); - break; + case XK_KP_Enter: case XK_0: case XK_KP_0: feh_event_invoke_action(winwid, opt.actions[0]); |