… | |
… | |
1095 | |
1095 | |
1096 | long vt_emask, vt_emask_perl, vt_emask_xim; |
1096 | long vt_emask, vt_emask_perl, vt_emask_xim; |
1097 | |
1097 | |
1098 | void vt_select_input () const NOTHROW |
1098 | void vt_select_input () const NOTHROW |
1099 | { |
1099 | { |
1100 | XSelectInput (xdisp, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1100 | XSelectInput (dpy, vt, vt_emask | vt_emask_perl | vt_emask_xim); |
1101 | } |
1101 | } |
1102 | |
1102 | |
1103 | #if TRANSPARENT |
1103 | #if TRANSPARENT |
1104 | void rootwin_cb (XEvent &xev); |
1104 | void rootwin_cb (XEvent &xev); |
1105 | xevent_watcher rootwin_ev; |
1105 | xevent_watcher rootwin_ev; |
… | |
… | |
1206 | void im_set_preedit_area (XRectangle &preedit_rect, XRectangle &status_rect, const XRectangle &needed_rect); |
1206 | void im_set_preedit_area (XRectangle &preedit_rect, XRectangle &status_rect, const XRectangle &needed_rect); |
1207 | |
1207 | |
1208 | bool IMisRunning (); |
1208 | bool IMisRunning (); |
1209 | void IMSendSpot (); |
1209 | void IMSendSpot (); |
1210 | bool IM_get_IC (const char *modifiers); |
1210 | bool IM_get_IC (const char *modifiers); |
1211 | void IMSetStatusPosition (); |
1211 | void IMSetPosition (); |
1212 | #endif |
1212 | #endif |
1213 | |
1213 | |
1214 | void resize_scrollbar (); |
1214 | void resize_scrollbar (); |
1215 | |
1215 | |
1216 | // command.C |
1216 | // command.C |
1217 | void lookup_key (XKeyEvent &ev); |
1217 | void key_press (XKeyEvent &ev); |
|
|
1218 | void key_release (XKeyEvent &ev); |
1218 | unsigned int cmd_write (const char *str, unsigned int count); |
1219 | unsigned int cmd_write (const char *str, unsigned int count); |
1219 | |
1220 | |
1220 | wchar_t next_char () NOTHROW; |
1221 | wchar_t next_char () NOTHROW; |
1221 | wchar_t cmd_getc () THROW ((class out_of_input)); |
1222 | wchar_t cmd_getc () THROW ((class out_of_input)); |
1222 | uint32_t next_octet () NOTHROW; |
1223 | uint32_t next_octet () NOTHROW; |
… | |
… | |
1258 | void set_title (const char *str); |
1259 | void set_title (const char *str); |
1259 | void set_icon_name (const char *str); |
1260 | void set_icon_name (const char *str); |
1260 | void set_window_color (int idx, const char *color); |
1261 | void set_window_color (int idx, const char *color); |
1261 | void set_colorfgbg (); |
1262 | void set_colorfgbg (); |
1262 | bool set_color (rxvt_color &color, const char *name); |
1263 | bool set_color (rxvt_color &color, const char *name); |
|
|
1264 | void alias_color (int dst, int src); |
1263 | void set_widthheight (unsigned int newwidth, unsigned int newheight); |
1265 | void set_widthheight (unsigned int newwidth, unsigned int newheight); |
1264 | |
1266 | |
1265 | // screen.C |
1267 | // screen.C |
1266 | |
1268 | |
1267 | void lalloc (line_t &l) const |
1269 | void lalloc (line_t &l) const |