14 lines
426 B
Diff
14 lines
426 B
Diff
Index: screen.c
|
|
===================================================================
|
|
--- screen.c.orig
|
|
+++ screen.c
|
|
@@ -1565,7 +1565,7 @@ ScreenResize(XtermWidget xw,
|
|
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;
|
|
|