xterm/xterm-sigwinch.patch
Marcus Meissner 2c3e7833ed - update to 372:
* amend   allocation/freeing  of  scrollback  lines,  eliminating  an
    adjustment  for status-line added in patch #371 (report/testcase by
    Rajeev V. Pillai).
- update to 371:
     * drop   double-buffer   default   from   test-packages,  since  that
       interferes with status-line.
     * add  faceSize7  to  table  in  charproc.c, overlooked in patch #360
       (patch by Vladimir A. Pavlov).
     * use  XDrawString rather than XDrawString16 for text when the latter
       is not needed.
     * improve performance for initializing/reusing graphic objects in the
       SIXEL feature.
     * improve error-checking for resize.
     * fix errata in manual page (Debian #988221).
     * extended  list  of environment variables to purge on startup, i.e.,
       in case a user starts xterm from another terminal emulator.
     * add  comment  in cursor.c to explain why autowrap (DECAWM) does not
       apply  to  data  saved/restored with save/restore cursor-operations
       (report by Thomas Wolff).
     * add  special  case  in  generating the combining-character table in
       wcwidth.c,  for  Hangul  Jamo  Extended-B  (report  by  Luis Javier
       Merino).
     * simplify/improve portability of trap commands in shell-scripts.
     * update configure options
       --disable-rectangles,
       --disable-tcap-fkeys and
       --disable-tcap-query
       to account for changed default settings.
     * rather  than  ignore empty parameter for setting title, use that to

OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=202
2022-03-21 12:56:24 +00:00

17 lines
514 B
Diff

# HG changeset patch
# Parent 547d2ea5029c2c3edd129a9d23e424877c6f29f0
Index: xterm-372/screen.c
===================================================================
--- xterm-372.orig/screen.c
+++ xterm-372/screen.c
@@ -2246,7 +2246,7 @@ ScreenResize(XtermWidget xw,
#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;