# HG changeset patch # User Gerd Moellmann # Date 951400448 0 # Node ID 72e15185eeb5d95c6ef9a2a995f48db9e2d93b71 # Parent d401b5066063c10bd022bac86ff8d9c30e6dee25 (x_display_and_set_cursor): Display cursor of non-selected windows depending on the setting of cursor_in_non_selected_windows. diff -r d401b5066063 -r 72e15185eeb5 src/xterm.c --- a/src/xterm.c Thu Feb 24 13:53:12 2000 +0000 +++ b/src/xterm.c Thu Feb 24 13:54:08 2000 +0000 @@ -10344,7 +10344,9 @@ if (w != XWINDOW (selected_window) || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame) { - if (MINI_WINDOW_P (w)) + extern int cursor_in_non_selected_windows; + + if (MINI_WINDOW_P (w) || !cursor_in_non_selected_windows) new_cursor_type = NO_CURSOR; else new_cursor_type = HOLLOW_BOX_CURSOR;