aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;