xterm/xterm-sigwinch.patch

17 lines
514 B
Diff
Raw Normal View History

Accepting request 631631 from home:pcerny:factory - Patch #335 - 2018/08/14 * add colorInnerBorder resource to make a change from patch #334 configurable (reports by H Merijn Brand, Gabriele Balducci). - Patch #334 - 2018/08/12 * modify Imakefile to reflect the fact that NetBSD no longer has a working termcap emulation. * add resource-setting validShells which can be used to augment the system's /etc/shell (prompted by discussion with Paul Lampert). * stifle some useless warnings from lintian in test-packages. * add the ncurses extension “RGB” to the responses for the termcap-query feature. * improved getopts-handling in sample scripts. * fix some warnings from gcc8 and clang --analyze. * update note about incorrect documentation for DECRQSS to include VT525 (report by Markus Schmidt). * correct check for default-values in rectangular parsing; a zero counts as a missing or default parameter (report/testcase by Markus Schmidt). * correct some ranges in the ambiguous[] table in wcwidth (adapted from patch by KUGA Tsutomu). * fix a special case with faint video attribute incorrectly combined with default color. * add private control XTREPORTSGR for reporting video-attributes and color on a rectangle, and script report-sgr.pl to demonstrate it. * modify some of the markup in ctlseqs.ms to work around groff's reassignment of ASCII punctuation characters as documented in groff_char(7). OBS-URL: https://build.opensuse.org/request/show/631631 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=158
2018-08-26 23:45:34 +02:00
# HG changeset patch
# Parent 547d2ea5029c2c3edd129a9d23e424877c6f29f0
2023-10-03 16:04:15 +02:00
Index: xterm-385/screen.c
===================================================================
2023-10-03 16:04:15 +02:00
--- xterm-385.orig/screen.c
+++ xterm-385/screen.c
@@ -2257,7 +2257,7 @@ ScreenResize(XtermWidget xw,
2017-09-22 14:05:44 +02:00
#ifdef TTYSIZE_STRUCT
if (update_winsize(screen, rows, cols, height, width) == 0) {
-#if defined(SIGWINCH) && defined(TIOCGPGRP)
+#if defined(SIGWINCH) && (defined(TIOCGPGRP) || defined(linux))
if (screen->pid > 1) {
int pgrp;