… | |
… | |
143 | } |
143 | } |
144 | #endif |
144 | #endif |
145 | |
145 | |
146 | rxvt_term::rxvt_term () |
146 | rxvt_term::rxvt_term () |
147 | : |
147 | : |
148 | #if TRANSPARENT |
148 | #if TRANSPARENT || ENABLE_PERL |
149 | rootwin_ev (this, &rxvt_term::rootwin_cb), |
149 | rootwin_ev (this, &rxvt_term::rootwin_cb), |
150 | #endif |
150 | #endif |
151 | #ifdef HAVE_SCROLLBARS |
151 | #ifdef HAVE_SCROLLBARS |
152 | scrollbar_ev (this, &rxvt_term::x_cb), |
152 | scrollbar_ev (this, &rxvt_term::x_cb), |
153 | #endif |
153 | #endif |
… | |
… | |
326 | im_ev.stop (display); |
326 | im_ev.stop (display); |
327 | #endif |
327 | #endif |
328 | #if HAVE_SCROLLBARS |
328 | #if HAVE_SCROLLBARS |
329 | scrollbar_ev.stop (display); |
329 | scrollbar_ev.stop (display); |
330 | #endif |
330 | #endif |
331 | #if TRANSPARENT |
331 | #if TRANSPARENT || ENABLE_PERL |
332 | rootwin_ev.stop (display); |
332 | rootwin_ev.stop (display); |
333 | #endif |
333 | #endif |
334 | incr_ev.stop (); |
334 | incr_ev.stop (); |
335 | termwin_ev.stop (display); |
335 | termwin_ev.stop (display); |
336 | vt_ev.stop (display); |
336 | vt_ev.stop (display); |
… | |
… | |
504 | XSelectInput (dpy, display->root, PropertyChangeMask); |
504 | XSelectInput (dpy, display->root, PropertyChangeMask); |
505 | check_our_parents (); |
505 | check_our_parents (); |
506 | rootwin_ev.start (display, display->root); |
506 | rootwin_ev.start (display, display->root); |
507 | } |
507 | } |
508 | #endif |
508 | #endif |
|
|
509 | #if ENABLE_PERL |
|
|
510 | rootwin_ev.start (display, display->root); |
|
|
511 | #endif |
509 | |
512 | |
510 | set_colorfgbg (); |
513 | set_colorfgbg (); |
511 | |
514 | |
512 | init_command (cmd_argv); |
515 | init_command (cmd_argv); |
513 | |
516 | |