From: Gerd Moellmann Date: Thu, 24 Feb 2000 13:54:08 +0000 (+0000) Subject: (x_display_and_set_cursor): Display cursor of X-Git-Tag: emacs-pretest-21.0.90~4902 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e55a0b7912f65fa71e493541a2ab418d85e02843;p=emacs.git (x_display_and_set_cursor): Display cursor of non-selected windows depending on the setting of cursor_in_non_selected_windows. --- diff --git a/src/xterm.c b/src/xterm.c index b632859249c..0d9dd981d7f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10344,7 +10344,9 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y) 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;