1 | /* |
1 | /* |
2 | * $Id: rxvt.h,v 1.10 2003/12/02 21:49:46 pcg Exp $ |
2 | * $Id: rxvt.h,v 1.11 2003/12/16 23:04:13 pcg Exp $ |
3 | */ |
3 | */ |
4 | |
4 | |
5 | #ifndef _RXVT_H_ /* include once only */ |
5 | #ifndef _RXVT_H_ /* include once only */ |
6 | #define _RXVT_H_ |
6 | #define _RXVT_H_ |
7 | |
7 | |
… | |
… | |
555 | Rs_pointerBlankDelay, |
555 | Rs_pointerBlankDelay, |
556 | NUM_RESOURCES |
556 | NUM_RESOURCES |
557 | }; |
557 | }; |
558 | |
558 | |
559 | enum { |
559 | enum { |
560 | TIMEOUT_INCR = 0, |
|
|
561 | NUM_TIMEOUTS |
|
|
562 | }; |
|
|
563 | |
|
|
564 | enum { |
|
|
565 | XA_COMPOUND_TEXT = 0, |
560 | XA_COMPOUND_TEXT = 0, |
566 | XA_MULTIPLE, |
561 | XA_MULTIPLE, |
567 | XA_TARGETS, |
562 | XA_TARGETS, |
568 | XA_TEXT, |
563 | XA_TEXT, |
569 | XA_TIMESTAMP, |
564 | XA_TIMESTAMP, |
… | |
… | |
1069 | struct timeval lastcursorchange; |
1064 | struct timeval lastcursorchange; |
1070 | #endif |
1065 | #endif |
1071 | #ifdef POINTER_BLANK |
1066 | #ifdef POINTER_BLANK |
1072 | struct timeval lastmotion; |
1067 | struct timeval lastmotion; |
1073 | #endif |
1068 | #endif |
1074 | struct timeval timeout[NUM_TIMEOUTS]; |
|
|
1075 | |
1069 | |
1076 | /* these three don't need to be kept but do so to placate some mem checkers */ |
1070 | /* these three don't need to be kept but do so to placate some mem checkers */ |
1077 | char *env_windowid; /* environmental variable WINDOWID */ |
1071 | char *env_windowid; /* environmental variable WINDOWID */ |
1078 | char *env_display; /* environmental variable DISPLAY */ |
1072 | char *env_display; /* environmental variable DISPLAY */ |
1079 | char *env_term; /* environmental variable TERM */ |
1073 | char *env_term; /* environmental variable TERM */ |
… | |
… | |
1091 | /* command input buffering */ |
1085 | /* command input buffering */ |
1092 | unsigned char *cmdbuf_ptr, *cmdbuf_endp; |
1086 | unsigned char *cmdbuf_ptr, *cmdbuf_endp; |
1093 | unsigned char cmdbuf_base[BUFSIZ]; |
1087 | unsigned char cmdbuf_base[BUFSIZ]; |
1094 | unsigned char kbuf[KBUFSZ]; |
1088 | unsigned char kbuf[KBUFSZ]; |
1095 | |
1089 | |
|
|
1090 | void paste (const unsigned char *data, unsigned int len); |
|
|
1091 | |
1096 | void flush (); |
1092 | void flush (); |
1097 | |
1093 | |
1098 | void check_cb (check_watcher &w); check_watcher check_ev; |
1094 | void check_cb (check_watcher &w); check_watcher check_ev; |
1099 | void destroy_cb (time_watcher &w); time_watcher destroy_ev; |
1095 | void destroy_cb (time_watcher &w); time_watcher destroy_ev; |
1100 | |
1096 | |
1101 | void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; |
1097 | void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; |
1102 | void x_cb (io_watcher &w, short revents); io_watcher x_ev; |
1098 | void x_cb (io_watcher &w, short revents); io_watcher x_ev; |
|
|
1099 | |
|
|
1100 | void incr_cb (time_watcher &w); time_watcher incr_ev; |
1103 | |
1101 | |
1104 | #ifdef CURSOR_BLINK |
1102 | #ifdef CURSOR_BLINK |
1105 | void blink_cb (time_watcher &w); time_watcher blink_ev; |
1103 | void blink_cb (time_watcher &w); time_watcher blink_ev; |
1106 | #endif |
1104 | #endif |
1107 | |
1105 | |