# HG changeset patch # User Richard M. Stallman # Date 1030473711 0 # Node ID 1afff47013bb9e666f82f12cb24fd41b492e24a9 # Parent 6469b390d8057cc84d715be51fa0f51f6c8d89b6 (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): New macros. (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. diff -r 6469b390d805 -r 1afff47013bb src/xterm.h --- a/src/xterm.h Tue Aug 27 18:40:30 2002 +0000 +++ b/src/xterm.h Tue Aug 27 18:41:51 2002 +0000 @@ -521,6 +521,13 @@ /* Width of bar cursor (if we are using that). */ int cursor_width; + /* What kind of text cursor should we draw when the cursor blinks off? + This can be filled_box_cursor or bar_cursor or no_cursor. */ + enum text_cursor_kinds blink_off_cursor; + + /* Width of bar cursor (if we are using that) for blink-off state. */ + int blink_off_cursor_width; + /* These are the current window manager hints. It seems that XSetWMHints, when presented with an unset bit in the `flags' member of the hints structure, does not leave the corresponding @@ -695,7 +702,9 @@ #define PIXEL_HEIGHT(f) ((f)->output_data.x->pixel_height) #define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor) +#define FRAME_BLINK_OFF_CURSOR(f) ((f)->output_data.x->blink_off_cursor) #define FRAME_CURSOR_WIDTH(f) ((f)->output_data.x->cursor_width) +#define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->output_data.x->blink_off_cursor_width) #define FRAME_XIC(f) ((f)->output_data.x->xic) #define FRAME_X_XIM(f) (FRAME_X_DISPLAY_INFO (f)->xim)