summaryrefslogtreecommitdiff
path: root/src/keyevents.c
diff options
context:
space:
mode:
authorreiseb <48870100+reiseb@users.noreply.github.com>2020-01-12 15:48:57 +0100
committerreiseb <48870100+reiseb@users.noreply.github.com>2020-06-16 19:41:43 +0200
commit918edfaa6254fcd7d328ced434f361b19a636576 (patch)
treef445c5a234420eb704c55bbad0ae797ead464786 /src/keyevents.c
parenta624883d92ea54886b739f1000e39ccf1afc5577 (diff)
add option 'a' to show play/paused information in slideshow mode
Diffstat (limited to 'src/keyevents.c')
-rw-r--r--src/keyevents.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index 0da07d3..761ec3c 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -710,6 +710,8 @@ void feh_event_handle_generic(winwidget winwid, unsigned int state, KeySym keysy
}
else if (feh_is_kp(EVENT_toggle_pause, state, keysym, button)) {
slideshow_pause_toggle(winwid);
+ /* We need to reload the image to update the info string immediately. */
+ feh_reload_image(winwid, 0, 0);
}
else if (feh_is_kp(EVENT_save_image, state, keysym, button)) {
slideshow_save_image(winwid);