aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2001-10-29 14:00:39 +0000
committerGerd Moellmann <[email protected]>2001-10-29 14:00:39 +0000
commit9a7bdceb5d48b6d06ad0a1299ef11774c5a7b96a (patch)
tree1d644ff700591b022289fca700c0ef4694c3b69e /src/xterm.c
parenta480997780b5cf6c70261bbde677ffd7f1f00954 (diff)
(x_display_and_set_cursor): If cursor_in_echo_area,
use NO_CURSOR if cursor_in_non_selected_windows is false.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 6893d29443..bd85e68c6e 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
{