mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Optionally inhibit implied resizing while frame is made (Bug#76275)
* src/frame.c (frame_inhibit_resize): Handle new value 'force' for 'frame-inhibit-implied-resize' (Bug#76275). (frame_inhibit_implied_resize): New value 'force' to inhibit implied resizing while a new frame is made. * lisp/cus-start.el (frame-inhibit-implied-resize): Make new value 'force' customizable. * doc/lispref/frames.texi (Implied Frame Resizing): Describe new value 'force' of 'frame-inhibit-implied-resize'. * etc/NEWS: Announce new value 'force' of 'frame-inhibit-implied-resize'.
This commit is contained in:
parent
4f89aa3d82
commit
499da9e1a9
4 changed files with 50 additions and 27 deletions
|
|
@ -1247,9 +1247,13 @@ resizing with the following option:
|
|||
|
||||
@defopt frame-inhibit-implied-resize
|
||||
If this option is @code{nil}, changing a frame's font, menu bar, tool
|
||||
bar, internal borders, fringes or scroll bars may resize its outer
|
||||
frame in order to keep the number of columns or lines of its text area
|
||||
unaltered. If this option is @code{t}, no such resizing is done.
|
||||
bar, internal borders, fringes or scroll bars may resize its outer frame
|
||||
in order to keep the number of columns or lines of its text area
|
||||
unaltered. If this option is @code{t}, no such resizing is done once a
|
||||
frame has obtained its initial size. If this is the symbol
|
||||
@code{force}, no implicit resizing is done whenever a new frame is made.
|
||||
The latter can be useful with tiling window managers where the initial
|
||||
size of a frame is determined by external means.
|
||||
|
||||
The value of this option can be also a list of frame parameters. In
|
||||
that case, implied resizing is inhibited for the change of a parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue