Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:A
xterm
xterm-sigwinch.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xterm-sigwinch.patch of Package xterm
diff --git a/screen.c b/screen.c --- a/screen.c +++ b/screen.c @@ -2246,17 +2246,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); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor