Commit 7a58ab59 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(x_display_and_set_cursor): Check for the focus

frame's selected window instead of selected_window.
parent e6297e7d
2001-02-05 Gerd Moellmann <gerd@gnu.org>
* xterm.c (x_display_and_set_cursor): Check for the focus
frame's selected window instead of selected_window.
* xdisp.c (try_scrolling): If point is in the line below the
window, make sure to move the iterator at least a canonical
char height down.
......
......@@ -10877,8 +10877,8 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y)
}
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment