Mercurial > emacs
diff src/xterm.c @ 27844:72e15185eeb5
(x_display_and_set_cursor): Display cursor of
non-selected windows depending on the setting of
cursor_in_non_selected_windows.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 24 Feb 2000 13:54:08 +0000 |
parents | 1d5c785bca99 |
children | df344d4f5f10 |
line wrap: on
line diff
--- 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;