aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2002-08-30 12:05:31 +0000
committerKim F. Storm2002-08-30 12:05:31 +0000
commitf0c8e81d17e8c7b3989ab82be9a88872f99f894d (patch)
tree835a4b316dc812a5eb9cd15f2b0d8facf6ef4611 /src
parentfdbe859cfbccfa746642d524c582bd86bc86c383 (diff)
downloademacs-f0c8e81d17e8c7b3989ab82be9a88872f99f894d.tar.gz
emacs-f0c8e81d17e8c7b3989ab82be9a88872f99f894d.zip
(enum text_cursor_kinds): Removed.
(struct output_x) <current_cursor, desired_cursor, cursor_width> <blink_off_cursor, blink_off_cursor_width>: Members removed. (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. (x_specified_cursor_type): Remove prototype.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 6aa7e6ae222..d9f185f7adf 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -107,15 +107,6 @@ Boston, MA 02111-1307, USA. */
107 | EnterWindowMask \ 107 | EnterWindowMask \
108 | VisibilityChangeMask) 108 | VisibilityChangeMask)
109 109
110enum text_cursor_kinds
111{
112 NO_CURSOR = -1,
113 FILLED_BOX_CURSOR,
114 HOLLOW_BOX_CURSOR,
115 BAR_CURSOR,
116 HBAR_CURSOR
117};
118
119/* Structure recording X pixmap and reference count. 110/* Structure recording X pixmap and reference count.
120 If REFCOUNT is 0 then this record is free to be reused. */ 111 If REFCOUNT is 0 then this record is free to be reused. */
121 112
@@ -510,24 +501,6 @@ struct x_output
510 /* Flag to set when the X window needs to be completely repainted. */ 501 /* Flag to set when the X window needs to be completely repainted. */
511 int needs_exposure; 502 int needs_exposure;
512 503
513 /* What kind of text cursor is drawn in this window right now?
514 (If there is no cursor (phys_cursor_x < 0), then this means nothing.) */
515 enum text_cursor_kinds current_cursor;
516
517 /* What kind of text cursor should we draw in the future?
518 This should always be filled_box_cursor or bar_cursor. */
519 enum text_cursor_kinds desired_cursor;
520
521 /* Width of bar cursor (if we are using that). */
522 int cursor_width;
523
524 /* What kind of text cursor should we draw when the cursor blinks off?
525 This can be filled_box_cursor or bar_cursor or no_cursor. */
526 enum text_cursor_kinds blink_off_cursor;
527
528 /* Width of bar cursor (if we are using that) for blink-off state. */
529 int blink_off_cursor_width;
530
531 /* These are the current window manager hints. It seems that 504 /* These are the current window manager hints. It seems that
532 XSetWMHints, when presented with an unset bit in the `flags' 505 XSetWMHints, when presented with an unset bit in the `flags'
533 member of the hints structure, does not leave the corresponding 506 member of the hints structure, does not leave the corresponding
@@ -701,11 +674,6 @@ enum
701#define PIXEL_WIDTH(f) ((f)->output_data.x->pixel_width) 674#define PIXEL_WIDTH(f) ((f)->output_data.x->pixel_width)
702#define PIXEL_HEIGHT(f) ((f)->output_data.x->pixel_height) 675#define PIXEL_HEIGHT(f) ((f)->output_data.x->pixel_height)
703 676
704#define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor)
705#define FRAME_BLINK_OFF_CURSOR(f) ((f)->output_data.x->blink_off_cursor)
706#define FRAME_CURSOR_WIDTH(f) ((f)->output_data.x->cursor_width)
707#define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->output_data.x->blink_off_cursor_width)
708
709#define FRAME_XIC(f) ((f)->output_data.x->xic) 677#define FRAME_XIC(f) ((f)->output_data.x->xic)
710#define FRAME_X_XIM(f) (FRAME_X_DISPLAY_INFO (f)->xim) 678#define FRAME_X_XIM(f) (FRAME_X_DISPLAY_INFO (f)->xim)
711#define FRAME_X_XIM_STYLES(f) (FRAME_X_DISPLAY_INFO (f)->xim_styles) 679#define FRAME_X_XIM_STYLES(f) (FRAME_X_DISPLAY_INFO (f)->xim_styles)
@@ -1101,7 +1069,6 @@ extern int x_char_width P_ ((struct frame *));
1101extern int x_char_height P_ ((struct frame *)); 1069extern int x_char_height P_ ((struct frame *));
1102extern int x_screen_planes P_ ((struct frame *)); 1070extern int x_screen_planes P_ ((struct frame *));
1103extern void x_sync P_ ((struct frame *)); 1071extern void x_sync P_ ((struct frame *));
1104extern enum text_cursor_kinds x_specified_cursor_type P_ ((Lisp_Object, int *));
1105extern int x_defined_color P_ ((struct frame *, char *, XColor *, int)); 1072extern int x_defined_color P_ ((struct frame *, char *, XColor *, int));
1106#ifdef HAVE_X_I18N 1073#ifdef HAVE_X_I18N
1107extern void free_frame_xic P_ ((struct frame *)); 1074extern void free_frame_xic P_ ((struct frame *));