summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-02-26 19:13:47 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-02-26 19:13:47 +0100
commit61ece6bb06c3f8259fd263187b423cf70f71f973 (patch)
treeb50b681304cea70fee5f3a4dd775260f11c43aae
parent2e87ebe040eee6ec32404411369c433447fce936 (diff)
Also accept PageUp/PageDown on the keypad
-rw-r--r--src/keyevents.c2
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;