! temporarily pass gpg verification, since it claims that ! the signature file is inaccessible - Patch #293 - 2013/05/27 * modify sample xterm.spec to use newer icon * add configure option --with-icon-symlink to work around systems which map icon requests for to a single "xterm" icon, but neglect to install the icon needed for window decorations (report by H Merijn Brand). * improve parameterizing of sample xterm.spec * amend fix for printer from patch #280, removing a reset of the signal handler for SIGCHLD (report by Joe Julian). * set environment variable XTERM_FILTER if a locale-filter is used. * enable DEBUG logic when --enable-trace configure option is given. * improve description of initialFont, set-vt-font and set-tex-text in manpage (Debian #707899). * fix regression from patch #292; selecting a word that ended at the right margin without wrapping would not select the last cell (report by Christian Weisgerber). - cleanup of spec file and patches OBS-URL: https://build.opensuse.org/request/show/176920 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=74
23 lines
721 B
Diff
23 lines
721 B
Diff
diff --git a/screen.c b/screen.c
|
|
--- a/screen.c
|
|
+++ b/screen.c
|
|
@@ -2183,17 +2183,17 @@ ScreenResize(XtermWidget xw,
|
|
#ifdef USE_STRUCT_WINSIZE
|
|
ts.ws_xpixel = (ttySize_t) width;
|
|
ts.ws_ypixel = (ttySize_t) height;
|
|
#endif
|
|
code = SET_TTYSIZE(screen->respond, ts);
|
|
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;
|
|
|
|
TRACE(("getting process-group\n"));
|
|
if (ioctl(screen->respond, TIOCGPGRP, &pgrp) != -1) {
|
|
TRACE(("sending SIGWINCH to process group %d\n", pgrp));
|
|
kill_process_group(pgrp, SIGWINCH);
|
|
}
|