From c9492f08ac6a258c2708c202054520371035fb7d Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 26 May 1995 21:54:20 +0000 Subject: [PATCH] (x_consider_frame_title): Use FRAME_KBOARD. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 5d1b3018bde..6fb7a30ed01 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -634,7 +634,8 @@ x_consider_frame_title (frame) { FRAME_PTR tf = XFRAME (XCONS (tail)->car); - if (tf != f && tf->kboard == f->kboard && !FRAME_MINIBUF_ONLY_P (tf) + if (tf != f && FRAME_KBOARD (tf) == FRAME_KBOARD (f) + && !FRAME_MINIBUF_ONLY_P (tf) && (FRAME_VISIBLE_P (tf) || FRAME_ICONIFIED_P (tf))) break; } -- 2.39.2