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.38 by greg, Tue Sep 20 15:48:15 1994 UTC vs.
Revision 2.39 by greg, Mon Nov 21 09:18:48 1994 UTC

# Line 214 | Line 214 | char  *argv[];
214  
215          init(argc, argv);                       /* get file and open window */
216  
217        if (parent < 0) {
218                kill(getppid(), SIGCONT);       /* signal parent if child */
219                sigrecv--;
220        }
217          for ( ; ; )
218                  getevent();             /* main loop */
219   userr:
# Line 353 | Line 349 | char **argv;
349          XSetWMProtocols(thedisplay, wind, &closedownAtom, 1);
350  
351          XMapWindow(thedisplay, wind);
356        return;
352   } /* end of init */
353  
354  
# Line 562 | Line 557 | getevent()                             /* process the next event */
557                  map_rcolors(ourras, wind);
558                  if (fast)
559                          make_rpixmap(ourras, wind);
560 +                if (parent < 0 & sigrecv == 0) {        /* notify parent */
561 +                        kill(getppid(), SIGCONT);
562 +                        sigrecv--;
563 +                }
564                  break;
565          case UnmapNotify:
566                  if (!fast)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines