]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_display_and_set_cursor): If cursor_in_echo_area,
authorGerd Moellmann <gerd@gnu.org>
Mon, 29 Oct 2001 14:00:39 +0000 (14:00 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 29 Oct 2001 14:00:39 +0000 (14:00 +0000)
use NO_CURSOR if cursor_in_non_selected_windows is false.

src/ChangeLog
src/xterm.c

index 955c8d921eb08ad2a88c683580b93e4f75fcbfcf..924e28a18d04b157e15af84516b0cc7cec42ab5a 100644 (file)
@@ -1,5 +1,8 @@
 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
 
+       * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area,
+       use NO_CURSOR if cursor_in_non_selected_windows is false.
+
        * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for
        the slant attribute if FRAME is t.
 
index 6893d29443586af298de7e9e2a4e7ec72ce1dd82..bd85e68c6e4aae553cb2de911858db54d0acec3f 100644 (file)
@@ -11498,8 +11498,10 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y)
     {
       if (w == XWINDOW (echo_area_window))
        new_cursor_type = FRAME_DESIRED_CURSOR (f);
-      else
+      else if (cursor_in_non_selected_windows)
        new_cursor_type = HOLLOW_BOX_CURSOR;
+      else
+       new_cursor_type = NO_CURSOR;
     }
   else
     {