--- rxvt-unicode/src/main.C 2007/12/04 16:33:42 1.271 +++ rxvt-unicode/src/main.C 2007/12/11 21:52:23 1.278 @@ -40,9 +40,7 @@ #include #include -#ifdef HAVE_TERMIOS_H -# include -#endif +#include #ifdef HAVE_XSETLOCALE # define X_LOCALE @@ -159,10 +157,10 @@ update_background_ev.set (this); #endif #ifdef CURSOR_BLINK - cursor_blink_ev.set (this); + cursor_blink_ev.set (this); cursor_blink_ev.set (0., CURSOR_BLINK_INTERVAL); #endif #ifdef TEXT_BLINK - text_blink_ev.set (this); + text_blink_ev.set (this); text_blink_ev.set (0., TEXT_BLINK_INTERVAL); #endif #ifndef NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING cont_scroll_ev.set (this); @@ -331,7 +329,7 @@ void rxvt_term::destroy () { - if (destroy_ev.active) + if (ev_is_active (&destroy_ev)) return; HOOK_INVOKE ((this, HOOK_DESTROY, DT_END)); @@ -831,7 +829,7 @@ (void)ioctl (pty->pty, TIOCSWINSZ, &ws); #if 0 - // TIOCSWINSZ⎈ is supposed to do this automatically and correctly + // TIOCSWINSZ is supposed to do this automatically and correctly if (cmd_pid) /* force through to the command */ kill (-cmd_pid, SIGWINCH); #endif