changeset 40446:a23a69e8c0c2

(x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR if cursor_in_non_selected_windows is false.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 29 Oct 2001 14:00:16 +0000
parents 6651c925b89e
children bc7e8f5dcaa0
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Oct 29 12:28:12 2001 +0000
+++ b/src/xterm.c	Mon Oct 29 14:00:16 2001 +0000
@@ -11498,8 +11498,10 @@
     {
       if (w == XWINDOW (echo_area_window))
 	new_cursor_type = FRAME_DESIRED_CURSOR (f);
+      else if (cursor_in_non_selected_windows)
+	new_cursor_type = HOLLOW_BOX_CURSOR;
       else
-	new_cursor_type = HOLLOW_BOX_CURSOR;
+	new_cursor_type = NO_CURSOR;
     }
   else
     {