[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hollow cursor even if cursor-in-non-selected-windows is nil
From: |
Gerd Moellmann |
Subject: |
Re: Hollow cursor even if cursor-in-non-selected-windows is nil |
Date: |
29 Oct 2001 15:02:58 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 |
Raymond Scholz <ray-2001@zonix.de> writes:
> I've set `cursor-in-non-selected-windows' to `nil'. But if
> `cursor-in-echo-area' is `t', I can see hollow cursors in non-selected
> buffers. This looks like an inconsistency to me.
Thanks for the report, Ray. This should fix it:
Index: xterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xterm.c,v
retrieving revision 1.674
retrieving revision 1.675
diff -c -r1.674 -r1.675
*** xterm.c 2001/10/29 11:15:10 1.674
--- xterm.c 2001/10/29 14:00:16 1.675
***************
*** 11498,11505 ****
{
if (w == XWINDOW (echo_area_window))
new_cursor_type = FRAME_DESIRED_CURSOR (f);
! else
new_cursor_type = HOLLOW_BOX_CURSOR;
}
else
{
--- 11498,11507 ----
{
if (w == XWINDOW (echo_area_window))
new_cursor_type = FRAME_DESIRED_CURSOR (f);
! else if (cursor_in_non_selected_windows)
new_cursor_type = HOLLOW_BOX_CURSOR;
+ else
+ new_cursor_type = NO_CURSOR;
}
else
{