Turn off combination resizing in 'window--transpose-1' (Bug#81406)

* lisp/window-x.el (window--transpose-1): Bind
'window-combination-resize' to nil around splitting (Bug#81406).
This commit is contained in:
Martin Rudalics 2026-07-13 15:59:15 +02:00
parent 7a9c004924
commit 86b65d82c7

View file

@ -243,7 +243,9 @@ ones in `window--transpose'."
;; `flen' is max size the window could be converted to the opposite
;; of the given split type.
(let ((parent-window-is-set t)
(flen (if (xor no-resize (car subtree))
;; Make sure combination resizing is turned off (Bug#81406).
window-combination-resize
(flen (if (xor no-resize (car subtree))
(float (window-pixel-width cwin))
(float (window-pixel-height cwin)))))
(mapc