]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fframe_visible_p): Do FRAME_SAMPLE_VISIBILITY first.
authorRichard M. Stallman <rms@gnu.org>
Sun, 20 Feb 1994 02:50:13 +0000 (02:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 20 Feb 1994 02:50:13 +0000 (02:50 +0000)
src/frame.c

index 461afb3166af9480e59a1f99e8b3d7fe5551eed5..f3b83ff106c5e54dd35caca391ed10d6a0d0cc2b 100644 (file)
@@ -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)))