# HG changeset patch # User Gerd Moellmann # Date 981388027 0 # Node ID 02652537e9d2f599e1ce99ebb213f196681c4229 # Parent 7f7981bbc76e4dca0e4f4df2d73cb195e144456b (x_display_and_set_cursor): Check for the focus frame's selected window instead of selected_window. diff -r 7f7981bbc76e -r 02652537e9d2 src/xterm.c --- a/src/xterm.c Mon Feb 05 13:30:45 2001 +0000 +++ b/src/xterm.c Mon Feb 05 15:47:07 2001 +0000 @@ -10877,8 +10877,8 @@ } else { - if (w != XWINDOW (selected_window) - || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame) + if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame + || w != XWINDOW (f->selected_window)) { extern int cursor_in_non_selected_windows;