summaryrefslogtreecommitdiff
path: root/src/keyevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyevents.c')
-rw-r--r--src/keyevents.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index 0350c8a..3f3cdcc 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -328,6 +328,11 @@ void feh_event_handle_keypress(XEvent * ev)
if (opt.slideshow)
slideshow_change_image(winwid, SLIDE_PREV);
break;
+ case 'z':
+ case 'Z':
+ if (opt.slideshow)
+ slideshow_change_image(winwid, SLIDE_RAND);
+ break;
case 'q':
case 'Q':
winwidget_destroy_all();