From 9a7bdceb5d48b6d06ad0a1299ef11774c5a7b96a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 29 Oct 2001 14:00:39 +0000 Subject: [PATCH] (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR if cursor_in_non_selected_windows is false. --- src/ChangeLog | 3 +++ src/xterm.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 955c8d921eb..924e28a18d0 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 6893d294435..bd85e68c6e4 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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 { -- 2.39.2