… | |
… | |
899 | rxvt_perl_term perl; |
899 | rxvt_perl_term perl; |
900 | #endif |
900 | #endif |
901 | struct mbstate mbstate; // current input multibyte state |
901 | struct mbstate mbstate; // current input multibyte state |
902 | |
902 | |
903 | unsigned char want_refresh:1, |
903 | unsigned char want_refresh:1, |
904 | #ifdef TRANSPARENT |
904 | #ifdef ENABLE_TRANSPARENCY |
905 | want_full_refresh:1, /* awaiting full screen refresh */ |
905 | want_full_refresh:1, /* awaiting full screen refresh */ |
906 | am_transparent:1, /* is a transparent term */ |
906 | am_transparent:1, /* is a transparent term */ |
907 | am_pixmap_trans:1, /* transparency w/known root pixmap */ |
907 | am_pixmap_trans:1, /* transparency w/known root pixmap */ |
908 | #endif |
908 | #endif |
909 | current_screen:1, /* primary or secondary */ |
909 | current_screen:1, /* primary or secondary */ |
… | |
… | |
953 | /* give proper Scroll behaviour */ |
953 | /* give proper Scroll behaviour */ |
954 | #if defined(MOUSE_WHEEL) && defined(MOUSE_SLIP_WHEELING) |
954 | #if defined(MOUSE_WHEEL) && defined(MOUSE_SLIP_WHEELING) |
955 | mouse_slip_wheel_speed, |
955 | mouse_slip_wheel_speed, |
956 | #endif |
956 | #endif |
957 | refresh_count, |
957 | refresh_count, |
958 | refresh_limit, |
|
|
959 | last_bot, /* scrollbar last bottom position */ |
958 | last_bot, /* scrollbar last bottom position */ |
960 | last_top, /* scrollbar last top position */ |
959 | last_top, /* scrollbar last top position */ |
961 | last_state, /* scrollbar last state */ |
960 | last_state, /* scrollbar last state */ |
962 | scrollbar_len, |
961 | scrollbar_len, |
963 | window_vt_x, |
962 | window_vt_x, |
… | |
… | |
1095 | void vt_select_input () const NOTHROW |
1094 | void vt_select_input () const NOTHROW |
1096 | { |
1095 | { |
1097 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1096 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1098 | } |
1097 | } |
1099 | |
1098 | |
1100 | #if TRANSPARENT || ENABLE_PERL |
1099 | #if ENABLE_TRANSPARENCY || ENABLE_PERL |
1101 | void rootwin_cb (XEvent &xev); |
1100 | void rootwin_cb (XEvent &xev); |
1102 | xevent_watcher rootwin_ev; |
1101 | xevent_watcher rootwin_ev; |
1103 | #endif |
1102 | #endif |
1104 | #if TRANSPARENT |
1103 | #if ENABLE_TRANSPARENCY |
|
|
1104 | int check_our_parents (); |
1105 | void check_our_parents_cb (time_watcher &w); |
1105 | void check_our_parents_cb (time_watcher &w); |
1106 | time_watcher check_our_parents_ev; |
1106 | time_watcher check_our_parents_ev; |
1107 | #endif |
1107 | #endif |
1108 | |
1108 | |
1109 | void x_cb (XEvent &xev); |
1109 | void x_cb (XEvent &xev); |
… | |
… | |
1229 | void button_press (XButtonEvent &ev); |
1229 | void button_press (XButtonEvent &ev); |
1230 | void button_release (XButtonEvent &ev); |
1230 | void button_release (XButtonEvent &ev); |
1231 | void focus_in (); |
1231 | void focus_in (); |
1232 | void focus_out (); |
1232 | void focus_out (); |
1233 | void update_fade_color (unsigned int idx); |
1233 | void update_fade_color (unsigned int idx); |
1234 | int check_our_parents (); |
|
|
1235 | #ifdef PRINTPIPE |
1234 | #ifdef PRINTPIPE |
1236 | FILE *popen_printer (); |
1235 | FILE *popen_printer (); |
1237 | int pclose_printer (FILE *stream); |
1236 | int pclose_printer (FILE *stream); |
1238 | #endif |
1237 | #endif |
1239 | void process_print_pipe (); |
1238 | void process_print_pipe (); |