… | |
… | |
327 | } |
327 | } |
328 | |
328 | |
329 | void |
329 | void |
330 | rxvt_term::destroy () |
330 | rxvt_term::destroy () |
331 | { |
331 | { |
332 | if (ev_is_active (&destroy_ev)) |
332 | if (destroy_ev.is_active ()) |
333 | return; |
333 | return; |
334 | |
334 | |
335 | HOOK_INVOKE ((this, HOOK_DESTROY, DT_END)); |
335 | HOOK_INVOKE ((this, HOOK_DESTROY, DT_END)); |
336 | |
336 | |
337 | #if ENABLE_OVERLAY |
337 | #if ENABLE_OVERLAY |
… | |
… | |
473 | rxvt_emergency_cleanup (); |
473 | rxvt_emergency_cleanup (); |
474 | _exit (EXIT_FAILURE); |
474 | _exit (EXIT_FAILURE); |
475 | } |
475 | } |
476 | |
476 | |
477 | /*----------------------------------------------------------------------*/ |
477 | /*----------------------------------------------------------------------*/ |
478 | bool |
478 | void |
479 | rxvt_term::init (int argc, const char *const *argv, stringvec *envv) |
479 | rxvt_term::init (int argc, const char *const *argv, stringvec *envv) |
480 | { |
480 | { |
481 | this->envv = envv; |
481 | this->envv = envv; |
482 | |
482 | |
483 | SET_R (this); |
483 | SET_R (this); |
… | |
… | |
586 | } |
586 | } |
587 | #endif |
587 | #endif |
588 | |
588 | |
589 | XMapWindow (dpy, vt); |
589 | XMapWindow (dpy, vt); |
590 | XMapWindow (dpy, parent[0]); |
590 | XMapWindow (dpy, parent[0]); |
591 | |
|
|
592 | return true; |
|
|
593 | } |
591 | } |
594 | |
592 | |
595 | static struct sig_handlers |
593 | static struct sig_handlers |
596 | { |
594 | { |
597 | ev::sig sw_term, sw_int; |
595 | ev::sig sw_term, sw_int; |