Copy from X11:terminals/xterm based on submit request 30090 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/30090 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xterm?expand=0&rev=35
14 lines
426 B
Diff
14 lines
426 B
Diff
Index: screen.c
|
|
===================================================================
|
|
--- screen.c.orig
|
|
+++ screen.c
|
|
@@ -2056,7 +2056,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;
|
|
|