xterm/p_xterm-sigwinch.diff
Marcus Meissner 6e1cf77273 Accepting request 76203 from home:pcerny:factory
- Patch #270 - 2011/04/26
  * build-fix, e.g., for using imake on platforms which use the
    termcap library.
  * modify utf8 resource to accept a name.
  * mention default for fontWarnings in manpage (report by Werner
    Scheinast).
  * split "UTF-8" menu entry into "UTF-8 Encoding" and "UTF-8
    Fonts".
  * gray-out font-menu entries when a font fails to load, e.g., a
    bitmap font is not installed.
  * improve behavior when there is no app-defaults file:
    o set the toolBar resource to false
    o gray-out the font menu entries where no resource is found. 
  * add configure option --with-desktop-category to allow
    customization of the ".desktop" files.
  * build-fix for the install-desktop makefile-rule, when the
    source/build directories differ (patch by Loïc Minier).
  * add menu entry and corresponding resource which can be used to
    suppress all bold-fonts (discussion with Jan Engelhardt).
  * make internal line-size value consistent with allocated sizes
    of character and related arrays to ensure that bulk copying of
    line data, e.g., in scrolling, accounts for the padding used
    for pointer alignment (adapted from patch by Rajesh
    Mandalemula, also reported by Ali Bahar).
  * widen ifdef for screen-resizing logic from patch #176 changes
    to send SIGWINCH to process group to include any system
    supporting ioctl(*,TIOCGPGRP,*) (prompted by linux-specific
    patch in OpenSUSE rpm package).
  * add printModeOnXError and printFileOnXError resources, which
    allow the user to specify that xterm will write the contents

OBS-URL: https://build.opensuse.org/request/show/76203
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=19
2011-07-14 09:17:41 +00:00

14 lines
408 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(TIOCGPGRP)
+#if defined(SIGWINCH) && (defined(TIOCGPGRP) || defined(linux))
if (screen->pid > 1) {
int pgrp;