| # | 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 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |