# HG changeset patch # User Gerd Moellmann # Date 951400392 0 # Node ID d401b5066063c10bd022bac86ff8d9c30e6dee25 # Parent cfa579c1229f086eb653c9b3de17a0db6a0b4083 (cursor_in_non_selected_windows): New variable. (syms_of_xdisp): DEFVAR_BOOL it. diff -r cfa579c1229f -r d401b5066063 src/xdisp.c --- 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; }