aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c2
1 files changed, 2 insertions, 0 deletions
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.")
967{ 967{
968 CHECK_LIVE_FRAME (frame, 0); 968 CHECK_LIVE_FRAME (frame, 0);
969 969
970 FRAME_SAMPLE_VISIBILITY (XFRAME (frame));
971
970 if (FRAME_VISIBLE_P (XFRAME (frame))) 972 if (FRAME_VISIBLE_P (XFRAME (frame)))
971 return Qt; 973 return Qt;
972 if (FRAME_ICONIFIED_P (XFRAME (frame))) 974 if (FRAME_ICONIFIED_P (XFRAME (frame)))