Variable: alter-fullscreen-frames

alter-fullscreen-frames is a customizable variable defined in frame.c.

Value

nil

Documentation

How to handle requests to resize fullscreen frames.

Emacs consults this option when asked to resize a fullscreen frame via functions like set-frame-size or when setting the \+width or \+height parameter of a frame. The following values are provided:

- nil means to forward the resize request to the window manager and
  leave it to the latter how to proceed.

- t means to first reset the fullscreen status and then forward the
  request to the window manager.

- \+inhibit means to reject the resize request and leave the fullscreen
  status unchanged.

The default is \+inhibit in NS builds and nil everywhere else.

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

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

// Defined in /usr/src/emacs/src/frame.c
  DEFVAR_LISP ("alter-fullscreen-frames", alter_fullscreen_frames,
	       doc: /* How to handle requests to resize fullscreen frames.
Emacs consults this option when asked to resize a fullscreen frame via
functions like `set-frame-size' or when setting the \\+`width' or \\+`height'
parameter of a frame.  The following values are provided:

- nil means to forward the resize request to the window manager and
  leave it to the latter how to proceed.

- t means to first reset the fullscreen status and then forward the
  request to the window manager.

- \\+`inhibit' means to reject the resize request and leave the fullscreen
  status unchanged.

The default is \\+`inhibit' in NS builds and nil everywhere else.  */);