… | |
… | |
38 | #include <limits> |
38 | #include <limits> |
39 | |
39 | |
40 | #include <csignal> |
40 | #include <csignal> |
41 | #include <cstring> |
41 | #include <cstring> |
42 | |
42 | |
43 | # include <termios.h> |
43 | #include <termios.h> |
44 | |
44 | |
45 | #ifdef HAVE_XSETLOCALE |
45 | #ifdef HAVE_XSETLOCALE |
46 | # define X_LOCALE |
46 | # define X_LOCALE |
47 | # include <X11/Xlocale.h> |
47 | # include <X11/Xlocale.h> |
48 | #else |
48 | #else |
… | |
… | |
155 | { |
155 | { |
156 | #if HAVE_BG_PIXMAP |
156 | #if HAVE_BG_PIXMAP |
157 | update_background_ev.set<rxvt_term, &rxvt_term::update_background_cb> (this); |
157 | update_background_ev.set<rxvt_term, &rxvt_term::update_background_cb> (this); |
158 | #endif |
158 | #endif |
159 | #ifdef CURSOR_BLINK |
159 | #ifdef CURSOR_BLINK |
160 | cursor_blink_ev.set <rxvt_term, &rxvt_term::cursor_blink_cb> (this); |
160 | cursor_blink_ev.set <rxvt_term, &rxvt_term::cursor_blink_cb> (this); cursor_blink_ev.set (0., CURSOR_BLINK_INTERVAL); |
161 | #endif |
161 | #endif |
162 | #ifdef TEXT_BLINK |
162 | #ifdef TEXT_BLINK |
163 | text_blink_ev.set <rxvt_term, &rxvt_term::text_blink_cb> (this); |
163 | text_blink_ev.set <rxvt_term, &rxvt_term::text_blink_cb> (this); text_blink_ev.set (0., TEXT_BLINK_INTERVAL); |
164 | #endif |
164 | #endif |
165 | #ifndef NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING |
165 | #ifndef NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING |
166 | cont_scroll_ev.set <rxvt_term, &rxvt_term::cont_scroll_cb> (this); |
166 | cont_scroll_ev.set <rxvt_term, &rxvt_term::cont_scroll_cb> (this); |
167 | #endif |
167 | #endif |
168 | #ifdef SELECTION_SCROLLING |
168 | #ifdef SELECTION_SCROLLING |
… | |
… | |
482 | |
482 | |
483 | SET_R (this); |
483 | SET_R (this); |
484 | set_locale (""); |
484 | set_locale (""); |
485 | set_environ (envv); // few things in X do not call setlocale :( |
485 | set_environ (envv); // few things in X do not call setlocale :( |
486 | |
486 | |
487 | if (!init_vars ()) |
487 | init_vars (); |
488 | return false; |
|
|
489 | |
488 | |
490 | init_secondary (); |
489 | init_secondary (); |
491 | |
490 | |
492 | const char **cmd_argv = init_resources (argc, argv); |
491 | const char **cmd_argv = init_resources (argc, argv); |
493 | |
492 | |