1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00: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)))