… | … | ||
---|---|---|---|
275 | flush (); | 275 | flush (); |
276 | } | 276 | } |
277 | 277 | ||
278 | void rxvt_display::flush () | 278 | void rxvt_display::flush () |
279 | { | 279 | { |
280 | for (;;) | 280 | XFlush (display); |
281 | { | ||
282 | if (!XPending (display)) | ||
283 | break; | ||
284 | |||
285 | x_cb (x_ev, 0); | ||
286 | } | ||
287 | } | 281 | } |
288 | 282 | ||
289 | void rxvt_display::reg (xevent_watcher *w) | 283 | void rxvt_display::reg (xevent_watcher *w) |
290 | { | 284 | { |
291 | xw.push_back (w); | 285 | xw.push_back (w); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |