summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-08-25 11:07:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-08-25 11:07:53 +0200
commit5cf2736a8a7f6b8df8f2793b095f219941a34338 (patch)
treebdaffc201e4643fa8f953658b21611f63edd50a8
parent3b53d965289346b73a6af42225175768e5e202fc (diff)
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
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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)