summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Fredericks <fredericksgary@gmail.com>2018-11-18 09:15:00 +0100
committerMartin Rudalics <rudalics@gmx.at>2018-11-18 09:15:00 +0100
commit88762b4063a42a69234bda74b1626b646734715a (patch)
treef44488c600c1f261b343197ea246fcf620de7ed8
parentd6542ea0f032d154da5a6e896a860adc9176a00a (diff)
downloademacs-88762b4063a42a69234bda74b1626b646734715a.tar.gz
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
-rw-r--r--lisp/window.el2
1 files changed, 2 insertions, 0 deletions
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