aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-08-27 18:41:51 +0000
committerRichard M. Stallman <[email protected]>2002-08-27 18:41:51 +0000
commitcff72e2bc6d3680d0cb2f4d6d25fde021cedea26 (patch)
tree14c5ff90e27c85f4e968f67eba6e8413f8b0f3a9 /src
parent1daccbf4b2ed6501cd8691d41070eccaaf6cba3d (diff)
(FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): New macros.
(struct x_output): New fields blink_off_cursor, blink_off_cursor_width.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 03b746fd41..6aa7e6ae22 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -521,6 +521,13 @@ struct x_output
/* 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 @@ enum
#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)