--- rxvt-unicode/src/rxvt.h 2004/01/19 17:26:43 1.22 +++ rxvt-unicode/src/rxvt.h 2004/01/29 23:26:01 1.25 @@ -339,7 +339,8 @@ #define Sel_Secondary 0x02 #define Sel_Clipboard 0x03 #define Sel_whereMask 0x0f -#define Sel_CompoundText 0x10 /* last request was Compound */ +#define Sel_CompoundText 0x10 /* last request was COMPOUND_TEXT */ +#define Sel_UTF8String 0x20 /* last request was UTF8_STRING */ enum { C0_NUL = 0x00, @@ -544,11 +545,13 @@ NUM_RESOURCES }; +// see init.C:xa_named, which must be kept in sync enum { - XA_COMPOUND_TEXT = 0, + XA_TEXT = 0, + XA_COMPOUND_TEXT, + XA_UTF8_STRING, XA_MULTIPLE, XA_TARGETS, - XA_TEXT, XA_TIMESTAMP, XA_VT_SELECTION, XA_INCR, @@ -564,13 +567,6 @@ NUM_XA }; -/* - * number of graphics points - * divisible by 2 (num lines) - * divisible by 4 (num rect) - */ -#define NGRX_PTS 1000 - /* DEC private modes */ #define PrivMode_132 (1LU<<0) #define PrivMode_132OK (1LU<<1) @@ -810,6 +806,7 @@ #endif #define BLINK_INTERVAL 0.5 +#define TEXT_BLINK_INTERVAL 0.5 struct mbstate { mbstate_t mbs; @@ -838,6 +835,9 @@ #ifdef CURSOR_BLINK hidden_cursor:1, #endif +#ifdef TEXT_BLINK + hidden_text:1, +#endif #ifdef POINTER_BLANK hidden_pointer:1, #endif @@ -1071,7 +1071,10 @@ void incr_cb (time_watcher &w); time_watcher incr_ev; #ifdef CURSOR_BLINK - void blink_cb (time_watcher &w); time_watcher blink_ev; + void cursor_blink_cb (time_watcher &w); time_watcher cursor_blink_ev; +#endif +#ifdef TEXT_BLINK + void text_blink_cb (time_watcher &w); time_watcher text_blink_ev; #endif #ifdef POINTER_BLANK @@ -1139,6 +1142,7 @@ void scr_release (); void scr_clear (); void scr_refresh (unsigned char refresh_type); + bool scr_refresh_rend (rend_t mask, rend_t value); void scr_erase_screen (int mode); void scr_touch (bool refresh); void scr_expose (int x, int y, int width, int height, bool refresh);