From 5cf2736a8a7f6b8df8f2793b095f219941a34338 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 25 Aug 2017 11:07:53 +0200 Subject: Disable stdin control in multiwindow mode As there's no "default" window, it doesn't make much sense here... Plus, it's buggy as hell in this mode --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 57b7a7b..0f2844f 100644 --- a/src/main.c +++ b/src/main.c @@ -111,7 +111,7 @@ int feh_main_iteration(int block) fdsize = xfd + 1; pt = feh_get_time(); first = 0; - if (isatty(STDIN_FILENO)) { + if (isatty(STDIN_FILENO) && !opt.multiwindow) { control_via_stdin = 1; struct termios ctrl; if (tcgetattr(STDIN_FILENO, &old_term_settings) == -1) -- cgit v1.2.3