--- ray/src/hd/rhd_x11.c 1997/11/21 13:35:58 3.4 +++ ray/src/hd/rhd_x11.c 1997/11/21 16:10:17 3.6 @@ -212,6 +212,7 @@ int dev_input() /* get X11 input */ { inpresflags = 0; + do getevent(); @@ -474,17 +475,20 @@ register XKeyPressedEvent *ekey; case 'H': /* turn off height motion lock */ headlocked = 0; return; - case CTRL('Z'): + case CTRL('S'): case 'p': /* pause computation */ inpresflags |= DEV_WAIT; return; + case CTRL('Q'): case '\n': - case '\r': /* release */ + case '\r': /* resume computation */ + inpresflags |= DEV_RESUME; return; case CTRL('R'): /* redraw */ + qtCompost(100); /* unload the old tree */ if (ncolors > 0) new_ctab(ncolors); - qtRedraw(0, 0, odev.hres, odev.vres); + inpresflags |= DEV_REDRAW; /* resend values from server */ return; case CTRL('D'): case 'Q':