… | |
… | |
569 | else if (xw[i]->window == xev.xany.window) |
569 | else if (xw[i]->window == xev.xany.window) |
570 | xw[i]->call (xev); |
570 | xw[i]->call (xev); |
571 | } |
571 | } |
572 | } |
572 | } |
573 | } |
573 | } |
|
|
574 | |
|
|
575 | flush_ev.start (); |
574 | } |
576 | } |
575 | |
577 | |
576 | void rxvt_display::flush_cb (ev::prepare &w, int revents) |
578 | void rxvt_display::flush_cb (ev::prepare &w, int revents) |
577 | { |
579 | { |
|
|
580 | x_cb(x_ev,0);//D |
|
|
581 | XFlush (dpy); |
578 | w.stop (); |
582 | w.stop (); |
579 | XFlush (dpy); |
|
|
580 | } |
583 | } |
581 | |
584 | |
582 | void rxvt_display::reg (xevent_watcher *w) |
585 | void rxvt_display::reg (xevent_watcher *w) |
583 | { |
586 | { |
584 | if (!w->active) |
587 | if (!w->active) |