xterm/p_xterm-sigwinch.diff

12 lines
344 B
Diff

--- screen.c
+++ screen.c 2005-07-27 12:42:12.000000000 +0200
@@ -1503,7 +1503,7 @@
TRACE(("return %d from SET_TTYSIZE %dx%d\n", code, rows, cols));
(void) code;
-#if defined(SIGWINCH) && defined(USE_STRUCT_TTYSIZE)
+#if defined(SIGWINCH) && (defined(USE_STRUCT_TTYSIZE) || defined(linux))
if (screen->pid > 1) {
int pgrp;