aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2012-12-14 16:42:53 +0100
committerJoakim Verona2012-12-14 16:42:53 +0100
commit0b0800f450135b38ed72e70b1eff51ee2aeb4154 (patch)
tree9f49d4850d5824d9a41a1a50d4bd08f3ac208959 /src
parent67eb4ae399b4a26d04bceacfccf9f467145483cc (diff)
parent26ec1f49cb852c04eb6266d64f1673859307adca (diff)
downloademacs-0b0800f450135b38ed72e70b1eff51ee2aeb4154.tar.gz
emacs-0b0800f450135b38ed72e70b1eff51ee2aeb4154.zip
auto upstream
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog21
-rw-r--r--src/xdisp.c7
2 files changed, 17 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a1dc1c2adab..2e7c05e3d36 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * xdisp.c (select_frame_for_redisplay): Keep selected_window and
4 selected_frame in sync.
5
12012-12-14 Eli Zaretskii <eliz@gnu.org> 62012-12-14 Eli Zaretskii <eliz@gnu.org>
2 7
3 * w32.c (stat_worker): If w32_stat_get_owner_group is zero, do not 8 * w32.c (stat_worker): If w32_stat_get_owner_group is zero, do not
@@ -5,8 +10,8 @@
5 security APIs. This is to make most callers of 'stat' and 10 security APIs. This is to make most callers of 'stat' and
6 'lstat', which don't need that information, much faster. 11 'lstat', which don't need that information, much faster.
7 12
8 * dired.c (Ffile_attributes) [WINDOWSNT]: Set 13 * dired.c (Ffile_attributes) [WINDOWSNT]:
9 w32_stat_get_owner_group to a non-zero value, to request accurate 14 Set w32_stat_get_owner_group to a non-zero value, to request accurate
10 owner and group information from 'lstat'. 15 owner and group information from 'lstat'.
11 16
122012-12-13 Paul Eggert <eggert@cs.ucla.edu> 172012-12-13 Paul Eggert <eggert@cs.ucla.edu>
@@ -138,8 +143,8 @@
138 * emacs.c (main): Call cache_system_info early in startup; we 143 * emacs.c (main): Call cache_system_info early in startup; we
139 previously weren't calling it in Cygwin builds. 144 previously weren't calling it in Cygwin builds.
140 145
141 * Makefile.in (ntsource, WINDRES, W32_RES, W#@_RES_LINK): Teach 146 * Makefile.in (ntsource, WINDRES, W32_RES, W#@_RES_LINK):
142 the autoconf build system how to compile a Windows resource file 147 Teach the autoconf build system how to compile a Windows resource file
143 and link it to Emacs. 148 and link it to Emacs.
144 149
1452012-12-10 Dmitry Antipov <dmantipov@yandex.ru> 1502012-12-10 Dmitry Antipov <dmantipov@yandex.ru>
@@ -686,8 +691,8 @@
686 (set_frame_menubar): Adjust user. 691 (set_frame_menubar): Adjust user.
687 * w32term.h (struct x_output): Drop outdated #if 0 code. 692 * w32term.h (struct x_output): Drop outdated #if 0 code.
688 (struct w32_output): Use bitfields for explicit_parent, 693 (struct w32_output): Use bitfields for explicit_parent,
689 asked_for_visible and menubar_active members. Drop 694 asked_for_visible and menubar_active members.
690 unused pending_menu_activation member. 695 Drop unused pending_menu_activation member.
691 * xterm.h (struct x_output): Drop outdated #if 0 code. 696 * xterm.h (struct x_output): Drop outdated #if 0 code.
692 Use bitfields for explicit_parent, asked_for_visible, 697 Use bitfields for explicit_parent, asked_for_visible,
693 has_been_visible and net_wm_state_hidden_seen members. 698 has_been_visible and net_wm_state_hidden_seen members.
@@ -780,8 +785,8 @@
780 * fileio.c (Fsubstitute_in_file_name, Ffile_name_directory) 785 * fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
781 (Fexpand_file_name) [DOS_NT]: Pass encoded file name to 786 (Fexpand_file_name) [DOS_NT]: Pass encoded file name to
782 dostounix_filename. Prevents crashes down the road, because 787 dostounix_filename. Prevents crashes down the road, because
783 dostounix_filename assumes it gets a unibyte string. Reported by 788 dostounix_filename assumes it gets a unibyte string.
784 Michel de Ruiter <michel@sentient.nl>, see 789 Reported by Michel de Ruiter <michel@sentient.nl>, see
785 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html 790 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html
786 791
7872012-11-20 Stefan Monnier <monnier@iro.umontreal.ca> 7922012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/src/xdisp.c b/src/xdisp.c
index 552455059de..ca9992bf804 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13020,6 +13020,7 @@ select_frame_for_redisplay (Lisp_Object frame)
13020 eassert (FRAMEP (frame) && FRAME_LIVE_P (XFRAME (frame))); 13020 eassert (FRAMEP (frame) && FRAME_LIVE_P (XFRAME (frame)));
13021 13021
13022 selected_frame = frame; 13022 selected_frame = frame;
13023 selected_window = XFRAME (frame)->selected_window;
13023 13024
13024 do { 13025 do {
13025 for (tail = XFRAME (frame)->param_alist; 13026 for (tail = XFRAME (frame)->param_alist;
@@ -13040,10 +13041,10 @@ select_frame_for_redisplay (Lisp_Object frame)
13040 deleted (by an X connection failure during redisplay, for example). */ 13041 deleted (by an X connection failure during redisplay, for example). */
13041 13042
13042static void 13043static void
13043ensure_selected_frame (Lisp_Object old_frame) 13044ensure_selected_frame (Lisp_Object frame)
13044{ 13045{
13045 if (!EQ (old_frame, selected_frame) && FRAME_LIVE_P (XFRAME (old_frame))) 13046 if (!EQ (frame, selected_frame) && FRAME_LIVE_P (XFRAME (frame)))
13046 select_frame_for_redisplay (old_frame); 13047 select_frame_for_redisplay (frame);
13047} 13048}
13048 13049
13049#define STOP_POLLING \ 13050#define STOP_POLLING \