(x_display_and_set_cursor): Check for the focus
frame's selected window instead of selected_window.
This commit is contained in:
parent
e6297e7db4
commit
7a58ab59f4
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue