aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-02-24 13:54:08 +0000
committerGerd Moellmann2000-02-24 13:54:08 +0000
commite55a0b7912f65fa71e493541a2ab418d85e02843 (patch)
tree98d4fb20b3eaf462afa363bcffca3eb0aab982da /src/xterm.c
parentd6d26ed3fb3ce93e660202c3c3df6870b03a509b (diff)
downloademacs-e55a0b7912f65fa71e493541a2ab418d85e02843.tar.gz
emacs-e55a0b7912f65fa71e493541a2ab418d85e02843.zip
(x_display_and_set_cursor): Display cursor of
non-selected windows depending on the setting of cursor_in_non_selected_windows.
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 b632859249c..0d9dd981d7f 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10344,7 +10344,9 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y)
10344 if (w != XWINDOW (selected_window) 10344 if (w != XWINDOW (selected_window)
10345 || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame) 10345 || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame)
10346 { 10346 {
10347 if (MINI_WINDOW_P (w)) 10347 extern int cursor_in_non_selected_windows;
10348
10349 if (MINI_WINDOW_P (w) || !cursor_in_non_selected_windows)
10348 new_cursor_type = NO_CURSOR; 10350 new_cursor_type = NO_CURSOR;
10349 else 10351 else
10350 new_cursor_type = HOLLOW_BOX_CURSOR; 10352 new_cursor_type = HOLLOW_BOX_CURSOR;