Variable: iconify-child-frame

iconify-child-frame is a customizable variable defined in frame.c.

Value

iconify-top-level

Documentation

How to handle iconification of child frames.

This variable tells Emacs how to proceed when it is asked to iconify a child frame. If it is nil, iconify-frame will do nothing when invoked on a child frame. If it is iconify-top-level, Emacs will try to iconify the top level frame associated with this child frame instead. If it is make-invisible, Emacs will try to make this child frame invisible instead.

Any other value means to try iconifying the child frame. Since such an attempt is not honored by all window managers and may even lead to making the child frame unresponsive to user actions, the default is to iconify the top level frame instead.

This variable was added, or its default value changed, in Emacs 26.1.

View in manual

Source Code

// Defined in /usr/src/emacs/src/frame.c
  DEFVAR_LISP ("iconify-child-frame", iconify_child_frame,
	       doc: /* How to handle iconification of child frames.
This variable tells Emacs how to proceed when it is asked to iconify a
child frame.  If it is nil, `iconify-frame' will do nothing when invoked
on a child frame.  If it is `iconify-top-level', Emacs will try to
iconify the top level frame associated with this child frame instead.
If it is `make-invisible', Emacs will try to make this child frame
invisible instead.

Any other value means to try iconifying the child frame.  Since such an
attempt is not honored by all window managers and may even lead to
making the child frame unresponsive to user actions, the default is to
iconify the top level frame instead.  */);