From: Gary Fredericks Date: Sun, 18 Nov 2018 08:15:00 +0000 (+0100) Subject: Run 'window--adjust-process-windows' when frame size changes (Bug#32720) X-Git-Tag: emacs-26.1.90~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=88762b4063a42a69234bda74b1626b646734715a;p=emacs.git 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 --- diff --git a/lisp/window.el b/lisp/window.el index 92cd8c27380..94ac65cfc5b 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -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