1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Handle resizing of fullscreen frames more consistently (Bug#79704)

* src/frame.c (adjust_frame_size): Honor new option
'alter-fullscreen-frames'.
(syms_of_frame) <alter-fullscreen-frames>: New option to
maintain consistent state when attempting to resize fullscreen
frames.  Default to 'inhibit' for NS builds because these
resized the frame while leaving the 'fullscreen' parameter alone
(Bug#79704).
(syms_of_frame) <Qinhibit>: Define symbol.
* lisp/cus-start.el (standard): Add customization options for
'alter-fullscreen-frames'
* doc/lispref/frames.texi (Frame Size): Describe new option
'alter-fullscreen-frames'.
* etc/NEWS: Call out new option 'alter-fullscreen-frames'.
This commit is contained in:
Martin Rudalics 2025-11-02 09:24:05 +01:00
parent fae5ced1ac
commit 2c4e7a99cc
4 changed files with 91 additions and 0 deletions

View file

@ -347,6 +347,12 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
;; :initialize custom-initialize-default
:set custom-set-minor-mode)
(frame-resize-pixelwise frames boolean "24.4")
(alter-fullscreen-frames frames
(choice
(const :tag "Forward request to window manager" nil)
(const :tag "Reset fullscreen status first" t)
(const :tag "Inhibit altering fullscreen frames" inhibit))
"31.1")
(frame-inhibit-implied-resize frames
(choice
(const :tag "Never" nil)