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.25 by gwlarson, Thu May 14 13:06:32 1998 UTC vs.
Revision 3.27 by gwlarson, Wed Aug 19 17:43:08 1998 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1997 Silicon Graphics, Inc. */
1 > /* Copyright (c) 1998 Silicon Graphics, Inc. */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ SGI";
# Line 265 | Line 265 | VIEW   *nv;
265   }
266  
267  
268 + dev_auxcom(cmd, args)           /* process an auxiliary command */
269 + char    *cmd, *args;
270 + {
271 +        sprintf(errmsg, "%s: unknown command", cmd);
272 +        error(COMMAND, errmsg);
273 + }
274 +
275 +
276   VIEW *
277   dev_auxview(n, hvres)           /* return nth auxiliary view */
278   int     n;
# Line 285 | 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 314 | 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