From 5c044f551eccef182a2033368e77213614e9dffb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 20 Feb 1994 02:50:13 +0000 Subject: [PATCH] (Fframe_visible_p): Do FRAME_SAMPLE_VISIBILITY first. --- src/frame.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frame.c b/src/frame.c index 461afb3166a..f3b83ff106c 100644 --- a/src/frame.c +++ b/src/frame.c @@ -967,6 +967,8 @@ Return the symbol `icon' if frame is visible only as an icon.") { CHECK_LIVE_FRAME (frame, 0); + FRAME_SAMPLE_VISIBILITY (XFRAME (frame)); + if (FRAME_VISIBLE_P (XFRAME (frame))) return Qt; if (FRAME_ICONIFIED_P (XFRAME (frame)))