… | |
… | |
787 | /****************************************************************************/ |
787 | /****************************************************************************/ |
788 | |
788 | |
789 | #define LINE_LONGER 0x0001 // line is continued on the next row |
789 | #define LINE_LONGER 0x0001 // line is continued on the next row |
790 | #define LINE_FILTERED 0x0002 // line has been filtered |
790 | #define LINE_FILTERED 0x0002 // line has been filtered |
791 | #define LINE_COMPRESSED 0x0004 // line has been compressed (NYI) |
791 | #define LINE_COMPRESSED 0x0004 // line has been compressed (NYI) |
|
|
792 | #define LINE_FILTER 0x0008 // line needs to be filtered before display (NYI) |
|
|
793 | #define LINE_BIDI 0x0010 // line needs bidi (NYI) |
792 | |
794 | |
793 | struct line_t { |
795 | struct line_t { |
794 | text_t *t; // terminal the text |
796 | text_t *t; // terminal the text |
795 | rend_t *r; // rendition, uses RS_ flags |
797 | rend_t *r; // rendition, uses RS_ flags |
796 | tlen_t_ l; // length of each text line, LINE_CONT == continued on next line |
798 | tlen_t_ l; // length of each text line, LINE_CONT == continued on next line |
… | |
… | |
1099 | void vt_select_input () const NOTHROW |
1101 | void vt_select_input () const NOTHROW |
1100 | { |
1102 | { |
1101 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1103 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1102 | } |
1104 | } |
1103 | |
1105 | |
1104 | #if TRANSPARENT |
1106 | #if TRANSPARENT || ENABLE_PERL |
1105 | void rootwin_cb (XEvent &xev); |
1107 | void rootwin_cb (XEvent &xev); |
1106 | xevent_watcher rootwin_ev; |
1108 | xevent_watcher rootwin_ev; |
1107 | #endif |
1109 | #endif |
1108 | |
1110 | |
1109 | void x_cb (XEvent &xev); |
1111 | void x_cb (XEvent &xev); |
… | |
… | |
1171 | bool pty_fill (); |
1173 | bool pty_fill (); |
1172 | |
1174 | |
1173 | void make_current () const // make this the "currently active" urxvt instance |
1175 | void make_current () const // make this the "currently active" urxvt instance |
1174 | { |
1176 | { |
1175 | SET_R (this); |
1177 | SET_R (this); |
|
|
1178 | set_environ (envv); |
1176 | rxvt_set_locale (locale); |
1179 | rxvt_set_locale (locale); |
1177 | set_environ (envv); |
|
|
1178 | } |
1180 | } |
1179 | |
1181 | |
1180 | void init_secondary (); |
1182 | void init_secondary (); |
1181 | const char **init_resources (int argc, const char *const *argv); |
1183 | const char **init_resources (int argc, const char *const *argv); |
1182 | const char *x_resource (const char *name); |
1184 | const char *x_resource (const char *name); |