Commit 5c044f55 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fframe_visible_p): Do FRAME_SAMPLE_VISIBILITY first.

parent c9fc1599
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment