xterm/p_xterm-sigwinch.diff
OBS User autobuild 79649d882f Accepting request 30090 from X11:terminals
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
2010-01-21 10:48:40 +00:00

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;