changeset 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 d401b5066063
children 995881918154
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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;