From: Gerd Moellmann Date: Mon, 29 Oct 2001 14:02:09 +0000 (+0000) Subject: (x_display_and_set_cursor): If cursor_in_echo_area, X-Git-Tag: emacs-21.2~422 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac140f6644a3518bf9778ad47368590250349ea6;p=emacs.git (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR if cursor_in_non_selected_windows is false. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7615e4edb6c..16942091754 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2001-10-29 Gerd Moellmann + * 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. diff --git a/src/xterm.c b/src/xterm.c index 983eb229bb2..31241eac7f5 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11485,8 +11485,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 {