Run 'window--adjust-process-windows' when frame size changes (Bug#32720)

* lisp/window.el (window-size-change-functions): Run
'window--adjust-process-windows' from
'window-size-change-functions' too (Bug#32720, "another issue"
in Bug#33230).

Copyright-paperwork-exempt: yes
This commit is contained in:
Gary Fredericks 2018-11-18 09:15:00 +01:00 committed by Martin Rudalics
parent d6542ea0f0
commit 88762b4063

View file

@ -9288,6 +9288,8 @@ displaying that processes's buffer."
(set-process-window-size process (cdr size) (car size))))))))))
(add-hook 'window-configuration-change-hook 'window--adjust-process-windows)
(add-hook 'window-size-change-functions (lambda (_frame)
(window--adjust-process-windows)))
;; Some of these are in tutorial--default-keys, so update that if you