aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index db00bc26482..a0ebe4b4484 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2231,7 +2231,6 @@ candidate_window_p (Lisp_Object window, Lisp_Object owindow, Lisp_Object minibuf
2231 } 2231 }
2232 else if (EQ (all_frames, Qvisible)) 2232 else if (EQ (all_frames, Qvisible))
2233 { 2233 {
2234 FRAME_SAMPLE_VISIBILITY (f);
2235 candidate_p = FRAME_VISIBLE_P (f) 2234 candidate_p = FRAME_VISIBLE_P (f)
2236 && (FRAME_TERMINAL (XFRAME (w->frame)) 2235 && (FRAME_TERMINAL (XFRAME (w->frame))
2237 == FRAME_TERMINAL (XFRAME (selected_frame))); 2236 == FRAME_TERMINAL (XFRAME (selected_frame)));
@@ -2239,7 +2238,6 @@ candidate_window_p (Lisp_Object window, Lisp_Object owindow, Lisp_Object minibuf
2239 } 2238 }
2240 else if (INTEGERP (all_frames) && XINT (all_frames) == 0) 2239 else if (INTEGERP (all_frames) && XINT (all_frames) == 0)
2241 { 2240 {
2242 FRAME_SAMPLE_VISIBILITY (f);
2243 candidate_p = (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f) 2241 candidate_p = (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f)
2244#ifdef HAVE_X_WINDOWS 2242#ifdef HAVE_X_WINDOWS
2245 /* Yuck!! If we've just created the frame and the 2243 /* Yuck!! If we've just created the frame and the