]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_display_and_set_cursor): Display cursor of
authorGerd Moellmann <gerd@gnu.org>
Thu, 24 Feb 2000 13:54:08 +0000 (13:54 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 24 Feb 2000 13:54:08 +0000 (13:54 +0000)
non-selected windows depending on the setting of
cursor_in_non_selected_windows.

src/xterm.c

index b632859249c786349f2409e2933af588d113915b..0d9dd981d7fed5209cdf1a01d473dbac6474865c 100644 (file)
@@ -10344,7 +10344,9 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y)
       if (w != XWINDOW (selected_window)
          || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame)
        {
-         if (MINI_WINDOW_P (w))
+         extern int cursor_in_non_selected_windows;
+         
+         if (MINI_WINDOW_P (w) || !cursor_in_non_selected_windows)
            new_cursor_type = NO_CURSOR;
          else
            new_cursor_type = HOLLOW_BOX_CURSOR;