ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/x11image.c
(Generate patch)

Comparing ray/src/px/x11image.c (file contents):
Revision 2.35 by greg, Mon Nov 22 11:33:18 1993 UTC vs.
Revision 2.36 by greg, Tue Dec 14 20:43:42 1993 UTC

# Line 366 | Line 366 | char  *err;
366          if (es = err != NULL)
367                  fprintf(stderr, "%s: %s: %s\n", progname,
368                                  fname==NULL?"<stdin>":fname, err);
369 <        if (parent > 0 & wind != 0) {
370 <                XDestroyWindow(thedisplay, wind);
371 <                XFlush(thedisplay);
372 <        } else if (parent < 0 & sigrecv == 0)
369 >        if (thedisplay != NULL)
370 >                XCloseDisplay(thedisplay);
371 >        if (parent < 0 & sigrecv == 0)
372                  kill(getppid(), SIGCONT);
373          while (parent > 0 && wait(&cs) != -1) { /* wait for any children */
374                  if (es == 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines