diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-02-26 19:13:47 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-02-26 19:13:47 +0100 |
commit | 61ece6bb06c3f8259fd263187b423cf70f71f973 (patch) | |
tree | b50b681304cea70fee5f3a4dd775260f11c43aae /src/keyevents.c | |
parent | 2e87ebe040eee6ec32404411369c433447fce936 (diff) | |
download | feh-61ece6bb06c3f8259fd263187b423cf70f71f973.zip |
Also accept PageUp/PageDown on the keypad
Diffstat (limited to 'src/keyevents.c')
-rw-r--r-- | src/keyevents.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index 5171c51..0350c8a 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -189,6 +189,7 @@ void feh_event_handle_keypress(XEvent * ev) slideshow_change_image(winwid, SLIDE_NEXT); break; case XK_Page_Up: + case XK_KP_Page_Up: if (opt.slideshow) slideshow_change_image(winwid, SLIDE_JUMP_BACK); break; @@ -196,6 +197,7 @@ void feh_event_handle_keypress(XEvent * ev) winwidget_destroy_all(); break; case XK_Page_Down: + case XK_KP_Page_Down: if (opt.slideshow) slideshow_change_image(winwid, SLIDE_JUMP_FWD); break; |