2018-08-26 23:45:34 +02:00
|
|
|
# HG changeset patch
|
|
|
|
# Parent 547d2ea5029c2c3edd129a9d23e424877c6f29f0
|
|
|
|
|
2013-05-29 16:46:55 +02:00
|
|
|
diff --git a/screen.c b/screen.c
|
2021-01-25 11:12:45 +01:00
|
|
|
index 6fb6b3b..238591f 100644
|
2013-05-29 16:46:55 +02:00
|
|
|
--- a/screen.c
|
|
|
|
+++ b/screen.c
|
2021-01-25 11:12:45 +01:00
|
|
|
@@ -2330,7 +2330,7 @@ ScreenResize(XtermWidget xw,
|
2017-09-22 14:05:44 +02:00
|
|
|
|
|
|
|
#ifdef TTYSIZE_STRUCT
|
2021-01-25 11:12:45 +01:00
|
|
|
if (update_winsize(screen->respond, rows, cols, height, width) == 0) {
|
2013-05-29 16:46:55 +02:00
|
|
|
-#if defined(SIGWINCH) && defined(TIOCGPGRP)
|
|
|
|
+#if defined(SIGWINCH) && (defined(TIOCGPGRP) || defined(linux))
|
2021-01-25 11:12:45 +01:00
|
|
|
if (screen->pid > 1) {
|
|
|
|
int pgrp;
|