aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 2c300b2..924032f 100644
--- a/degesch.c
+++ b/degesch.c
@@ -6259,8 +6259,11 @@ on_signal_pipe_readable (const struct pollfd *fd, struct app_context *ctx)
if (g_winch_received)
{
- input_on_terminal_resized (&ctx->input);
+ if (ctx->input.active)
+ input_on_terminal_resized (&ctx->input);
+
update_screen_size ();
+ g_winch_received = false;
}
}