degesch: fix a stupid segfault

This commit is contained in:
Přemysl Eric Janouch 2015-05-10 06:44:34 +02:00
parent dce14b9961
commit 095a2cc16a

View File

@ -6259,8 +6259,11 @@ on_signal_pipe_readable (const struct pollfd *fd, struct app_context *ctx)
if (g_winch_received) if (g_winch_received)
{ {
if (ctx->input.active)
input_on_terminal_resized (&ctx->input); input_on_terminal_resized (&ctx->input);
update_screen_size (); update_screen_size ();
g_winch_received = false;
} }
} }