summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-11-27 23:51:15 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-11-27 23:51:15 +0100
commitec64d41cd58086049000bea2f001a71188aa1967 (patch)
tree6775b54d1c25cdfbc672ba390031f6c406ee8718 /src
parent3b3d64abd92e8b75f1533f9681609a940e6bd3a2 (diff)
keyevents.c: caption entry: Only pause slideshow if slideshow_delay is set
Diffstat (limited to 'src')
-rw-r--r--src/keyevents.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index 1318d3d..873e114 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -645,7 +645,8 @@ void feh_event_handle_keypress(XEvent * ev)
* editing captions in slideshow mode does not make any sense
* at all; this is just in case someone accidentally does it...
*/
- opt.paused = 1;
+ if (opt.slideshow_delay)
+ opt.paused = 1;
winwid->caption_entry = 1;
}
winwidget_render_image(winwid, 0, 0);