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.26 by gwlarson, Wed Jun 17 15:44:07 1998 UTC vs.
Revision 3.27 by gwlarson, Wed Aug 19 17:43:08 1998 UTC

# Line 293 | Line 293 | dev_input()                    /* get X11 input */
293          do
294                  getevent();
295  
296 <        while (XQLength(ourdisplay) > 0);
296 >        while (XPending(ourdisplay) > 0);
297  
298 +        odev.inpready = 0;
299 +
300          return(inpresflags);
301   }
302  
# Line 322 | Line 324 | dev_flush()                    /* flush output */
324   {
325          qtUpdate();
326          rayqleft = RAYQLEN;
327 <        return(XPending(ourdisplay));
327 >        return(odev.inpready = XPending(ourdisplay));
328   }
329  
330  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines