summaryrefslogtreecommitdiff
path: root/src/keyevents.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-06-17 19:18:44 +0200
committerGitHub <noreply@github.com>2020-06-17 19:18:44 +0200
commit5c59089f12b7b07d46626ecdccf0cfcd4e875e26 (patch)
treebf0a3a4a4521d2389c7bdbafc6286e41214a9aee /src/keyevents.c
parent9df1b5b04923340aca69ce3ed4565fceeb042c01 (diff)
parentf0361c5ea6fcdc181863286dbe4de36003eccb9d (diff)
Merge pull request #500 from reiseb/master
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..a5526a2 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 re-render the image to update the info string immediately. */
+ winwidget_render_image(winwid, 0, 0);
}
else if (feh_is_kp(EVENT_save_image, state, keysym, button)) {
slideshow_save_image(winwid);