Mercurial > emacs
comparison src/xterm.c @ 35897:02652537e9d2
(x_display_and_set_cursor): Check for the focus
frame's selected window instead of selected_window.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 05 Feb 2001 15:47:07 +0000 |
parents | 3a46a6389078 |
children | 58a1ada9bf57 |
comparison
equal
deleted
inserted
replaced
35896:7f7981bbc76e | 35897:02652537e9d2 |
---|---|
10875 else | 10875 else |
10876 new_cursor_type = HOLLOW_BOX_CURSOR; | 10876 new_cursor_type = HOLLOW_BOX_CURSOR; |
10877 } | 10877 } |
10878 else | 10878 else |
10879 { | 10879 { |
10880 if (w != XWINDOW (selected_window) | 10880 if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame |
10881 || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame) | 10881 || w != XWINDOW (f->selected_window)) |
10882 { | 10882 { |
10883 extern int cursor_in_non_selected_windows; | 10883 extern int cursor_in_non_selected_windows; |
10884 | 10884 |
10885 if (MINI_WINDOW_P (w) | 10885 if (MINI_WINDOW_P (w) |
10886 || !cursor_in_non_selected_windows | 10886 || !cursor_in_non_selected_windows |