mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 20:50:52 -08: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
2 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue