File xterm-sigwinch.patch of Package xterm
# HG changeset patch # Parent 547d2ea5029c2c3edd129a9d23e424877c6f29f0 diff --git a/screen.c b/screen.c index 6fb6b3b..238591f 100644 --- a/screen.c +++ b/screen.c @@ -2330,7 +2330,7 @@ ScreenResize(XtermWidget xw, #ifdef TTYSIZE_STRUCT if (update_winsize(screen->respond, rows, cols, height, width) == 0) { -#if defined(SIGWINCH) && defined(TIOCGPGRP) +#if defined(SIGWINCH) && (defined(TIOCGPGRP) || defined(linux)) if (screen->pid > 1) { int pgrp;