… | … | ||
---|---|---|---|
573 | } | 573 | } |
574 | } | 574 | } |
575 | 575 | ||
576 | void rxvt_display::flush_cb (ev::prepare &w, int revents) | 576 | void rxvt_display::flush_cb (ev::prepare &w, int revents) |
577 | { | 577 | { |
578 | while (XEventsQueued (dpy, QueuedAfterFlush)) | ||
579 | x_cb (x_ev, EV_READ); | ||
580 | |||
578 | w.stop (); | 581 | w.stop (); |
579 | XFlush (dpy); | ||
580 | } | 582 | } |
581 | 583 | ||
582 | void rxvt_display::reg (xevent_watcher *w) | 584 | void rxvt_display::reg (xevent_watcher *w) |
583 | { | 585 | { |
584 | if (!w->active) | 586 | if (!w->active) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |