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

Comparing ray/src/hd/rhd_x11.c (file contents):
Revision 3.7 by gregl, Mon Nov 24 15:17:06 1997 UTC vs.
Revision 3.8 by gregl, Tue Nov 25 11:21:50 1997 UTC

# Line 451 | Line 451 | XButtonPressedEvent    *ebut;
451                  wx = levptr(XButtonReleasedEvent)->x;
452                  wy = levptr(XButtonReleasedEvent)->y;
453                  moveview(wx, odev.vres-1-wy, MOVDIR(whichbutton));
454 +                dev_flush();
455          }
456  
457          qtMinNodesiz = oldnodesiz;      /* restore quadtree resolution */
# Line 494 | Line 495 | register XKeyPressedEvent  *ekey;
495                  qtRedraw(0, 0, odev.hres, odev.vres);
496                  return;
497          case CTRL('L'):                 /* refresh from server */
498 +                if (inpresflags & DEV_REDRAW)
499 +                        return;
500                  XClearWindow(ourdisplay, gwind);
501 +                XFlush(ourdisplay);
502                  qtCompost(100);                 /* unload the old tree */
503                  if (ncolors > 0)
504                          new_ctab(ncolors);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines