aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorMichael Albinus2016-10-20 14:58:13 +0200
committerMichael Albinus2016-10-20 14:58:13 +0200
commitce26926b6223194a6ff0d8a3c17f1d58aaa5d0fe (patch)
tree9db5e547a5c7fa2a2380de19fcd1e73d1c45fa29 /src/window.c
parent38091c90005932017cbac54f2f5b82b3a003b9fa (diff)
parentf63a4b82f0e8634a76e4e7794bb7c7c4e734c4ba (diff)
downloademacs-ce26926b6223194a6ff0d8a3c17f1d58aaa5d0fe.tar.gz
emacs-ce26926b6223194a6ff0d8a3c17f1d58aaa5d0fe.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 753ebc16fbf..acbefcdad16 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2377,8 +2377,10 @@ candidate_window_p (Lisp_Object window, Lisp_Object owindow,
2377 == FRAME_TERMINAL (XFRAME (selected_frame))); 2377 == FRAME_TERMINAL (XFRAME (selected_frame)));
2378 } 2378 }
2379 else if (WINDOWP (all_frames)) 2379 else if (WINDOWP (all_frames))
2380 candidate_p = (EQ (FRAME_MINIBUF_WINDOW (f), all_frames) 2380 /* To qualify as candidate, it's not sufficient for WINDOW's frame
2381 || EQ (XWINDOW (all_frames)->frame, w->frame) 2381 to just share the minibuffer window - it must be active as well
2382 (see Bug#24500). */
2383 candidate_p = (EQ (XWINDOW (all_frames)->frame, w->frame)
2382 || EQ (XWINDOW (all_frames)->frame, FRAME_FOCUS_FRAME (f))); 2384 || EQ (XWINDOW (all_frames)->frame, FRAME_FOCUS_FRAME (f)));
2383 else if (FRAMEP (all_frames)) 2385 else if (FRAMEP (all_frames))
2384 candidate_p = EQ (all_frames, w->frame); 2386 candidate_p = EQ (all_frames, w->frame);