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

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

Re: Frame visibility


From: tomas
Subject: Re: Frame visibility
Date: Mon, 5 Dec 2016 16:26:57 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Dec 05, 2016 at 03:35:55PM +0100, Michael Heerdegen wrote:
> Joost Kremers <address@hidden> writes:
> 
> > The Elisp manual says that a frame can be visible, invisible or
> > iconified. Visible and iconified (a.k.a. minimized) are clear, but
> > when exactly is a frame invisible?
> 
> AFAIU the manual, an invisible frame is just not displayed (...visible),
> so it's like "iconified" but without an icon, I guess.  With other
> words: something like minimizing implemented in Emacs.

Exactly. This is window manager parlance. Those things correspond to
the ICCCM values "Normal", "Iconic" and "Withdrawn" values of the
(X) window's (which is an Emacs frame) WM_STATE property[1].

However the window manager decides to represent those things, they
are sometimes creative :-)

All Emacs does (all Emacs *can* do) is to request the style from
the WM, by setting some X properties on its windows (frames). The
window manager, as configured by the user then maps those abstract
requests to a concrete appearance.

I do like it that way. Imagine my browser could start deciding on
how its decoration looks, controlled by some random shi^H^H^H
obscure javascript off some obscure rag-du-jour page. No, thanks.

As Michael says... perhaps they hide your computer.

Regards

[1] https://tronche.com/gui/x/icccm/sec-4.html
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlhFh0EACgkQBcgs9XrR2kZRSgCfcKVIdYKcVkLAe7JxzQTPhgnU
Jr8An1cVYadYKoTx4FpLvJzUQ9Q85YKy
=GgWE
-----END PGP SIGNATURE-----



reply via email to

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