From ac140f6644a3518bf9778ad47368590250349ea6 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 29 Oct 2001 14:02:09 +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 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 { -- 2.39.2