--- rxvt-unicode/src/main.C 2007/12/11 15:42:51 1.275 +++ rxvt-unicode/src/main.C 2007/12/12 11:35:56 1.280 @@ -40,7 +40,7 @@ #include #include -# include +#include #ifdef HAVE_XSETLOCALE # define X_LOCALE @@ -157,7 +157,7 @@ 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 (0., TEXT_BLINK_INTERVAL); @@ -188,7 +188,7 @@ #endif child_ev.set (this); prepare_ev.set (this); - flush_ev.set (this); flush_ev.set (0., 1. / 60.); // refresh at max. 60 Hz normally + flush_ev.set (this); destroy_ev.set (this); pty_ev.set (this); incr_ev.set (this); @@ -475,7 +475,7 @@ } /*----------------------------------------------------------------------*/ -bool +void rxvt_term::init (int argc, const char *const *argv, stringvec *envv) { this->envv = envv; @@ -484,8 +484,7 @@ set_locale (""); set_environ (envv); // few things in X do not call setlocale :( - if (!init_vars ()) - return false; + init_vars (); init_secondary (); @@ -589,8 +588,6 @@ XMapWindow (dpy, vt); XMapWindow (dpy, parent[0]); - - return true; } static struct sig_handlers