bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14841: Frames created invisible have their visibility parameter set


From: Juanma Barranquero
Subject: bug#14841: Frames created invisible have their visibility parameter set to t
Date: Fri, 19 Jul 2013 15:04:22 +0200

On Sun, Jul 14, 2013 at 7:02 PM, Juanma Barranquero <address@hidden> wrote:

>  3) If you do this instead:  M-: (progn (make-frame '((visibility)))
> (mapcar #'frame-visible-p (frame-list))) <RET>, you get (nil t)

Curiously, this seem like two different bugs:

1) A frame created via (make-frame '((visibility . nil))) is
invisible, but elisp thinks it is visible.

2) frame-visible-p cannot be trusted until the frame has been
displayed, as shown by this different example:

ELISP> (progn (setq *f* (make-frame '((visibility . icon))))
(frame-visible-p *f*))
nil
ELISP> (frame-visible-p *f*)
icon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]