… | |
… | |
501 | |
501 | |
502 | #ifdef POINTER_BLANK |
502 | #ifdef POINTER_BLANK |
503 | XFreeCursor (dpy, blank_cursor); |
503 | XFreeCursor (dpy, blank_cursor); |
504 | #endif |
504 | #endif |
505 | x_ev.stop (); |
505 | x_ev.stop (); |
|
|
506 | flush_ev.stop (); |
506 | #ifdef USE_XIM |
507 | #ifdef USE_XIM |
507 | xims.clear (); |
508 | xims.clear (); |
508 | #endif |
509 | #endif |
509 | XCloseDisplay (dpy); |
510 | XCloseDisplay (dpy); |
510 | } |
511 | } |
… | |
… | |
569 | } |
570 | } |
570 | #ifdef USE_XIM |
571 | #ifdef USE_XIM |
571 | } |
572 | } |
572 | #endif |
573 | #endif |
573 | } |
574 | } |
574 | } |
|
|
575 | |
|
|
576 | void rxvt_display::flush () |
|
|
577 | { |
|
|
578 | flush_ev.start (); |
|
|
579 | } |
575 | } |
580 | |
576 | |
581 | void rxvt_display::flush_cb (ev::prepare &w, int revents) |
577 | void rxvt_display::flush_cb (ev::prepare &w, int revents) |
582 | { |
578 | { |
583 | w.stop (); |
579 | w.stop (); |