changeset 27843:d401b5066063

(cursor_in_non_selected_windows): New variable. (syms_of_xdisp): DEFVAR_BOOL it.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 24 Feb 2000 13:53:12 +0000
parents cfa579c1229f
children 72e15185eeb5
files src/xdisp.c
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Feb 24 13:47:36 2000 +0000
+++ b/src/xdisp.c	Thu Feb 24 13:53:12 2000 +0000
@@ -481,6 +481,11 @@
 
 static Lisp_Object Vmax_mini_window_height;
 
+/* Non-zero means we want a hollow cursor in windows that are not
+   selected.  Zero means there's no cursor in such windows.  */
+
+int cursor_in_non_selected_windows;
+
 /* A scratch glyph row with contents used for generating truncation
    glyphs.  Also used in direct_output_for_insert.  */
 
@@ -13049,6 +13054,12 @@
 If an integer, it specifies a number of lines.\n\
 If nil, don't resize.");
   Vmax_mini_window_height = make_float (0.25);
+  
+  DEFVAR_BOOL ("cursor-in-non-selected-windows",
+	       &cursor_in_non_selected_windows,
+    "*Non-nil means display a hollow cursor in non-selected windows.\n\
+Nil means don't display a cursor there.");
+  cursor_in_non_selected_windows = 1;
 }