--- ray/src/hd/rhd_glx.c 1998/01/01 14:48:46 3.11 +++ ray/src/hd/rhd_glx.c 1998/01/04 08:32:00 3.13 @@ -278,6 +278,9 @@ double rad; { register int ci, j; double apexh, basez; + /* is window mapped? */ + if (!mapped) + return; /* compute apex height (0. to 1.) */ if (ip[2] > 1e6) apexh = 1. - 1./DEPTHFACT; @@ -591,6 +594,7 @@ register XKeyPressedEvent *ekey; glFlush(); qtCompost(100); /* get rid of old values */ inpresflags |= DFL(DC_REDRAW); /* resend values from server */ + rayqleft = 0; /* hold off update */ return; case 'K': /* kill rtrace process(es) */ inpresflags |= DFL(DC_KILL);