X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=86fda447f8691c579a12804426b1d32bbe2cc968;hb=af73501b054db378b0a3e687a28e98c9234e973c;hp=e8d52321dcbd157f8449c096240afda2b49c893b;hpb=ed12e3ae9f1876abe4b74de58b03462b32bfbf3c;p=xboard.git diff --git a/xboard.c b/xboard.c index e8d5232..86fda44 100644 --- a/xboard.c +++ b/xboard.c @@ -8398,6 +8398,10 @@ int StartChildProcess(cmdLine, dir, pr) SetUpChildIO(to_prog, from_prog); + #ifdef SIGWINCH + signal(SIGWINCH, TermSizeSigHandler); + #endif + if ((pid = fork()) == 0) { /* Child process */ // [HGM] PSWBTM: made order resistant against case where fd of created pipe was 0 or 1