1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00

(Fframe_visible_p): Do FRAME_SAMPLE_VISIBILITY first.

This commit is contained in:
Richard M. Stallman 1994-02-20 02:50:13 +00:00
parent c9fc1599af
commit 5c044f551e

View 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)))