mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-02 20:16:25 +00:00
Fix to select_window.
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00346.html * window.c (select_window): Check inhibit_point_swap argument when deciding whether to return immediately.
This commit is contained in:
parent
9aabf64c78
commit
bae1fa42dc
@ -1,3 +1,8 @@
|
||||
2011-02-09 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.c (select_window): Check inhibit_point_swap argument when
|
||||
deciding whether to return immediately.
|
||||
|
||||
2011-02-08 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (setFrame, initFrame): Make sure pixel_height doesn't become
|
||||
|
@ -3607,7 +3607,7 @@ select_window (window, norecord, inhibit_point_swap)
|
||||
XSETFASTINT (w->use_time, window_select_count);
|
||||
}
|
||||
|
||||
if (EQ (window, selected_window))
|
||||
if (EQ (window, selected_window) && !inhibit_point_swap)
|
||||
return window;
|
||||
|
||||
sf = SELECTED_FRAME ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user