]> git.eshelyaron.com Git - emacs.git/commitdiff
Run 'window--adjust-process-windows' when frame size changes (Bug#32720)
authorGary Fredericks <fredericksgary@gmail.com>
Sun, 18 Nov 2018 08:15:00 +0000 (09:15 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Sun, 18 Nov 2018 08:15:00 +0000 (09:15 +0100)
* 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

lisp/window.el

index 92cd8c273806d6a269c931c26a17f4fee041db55..94ac65cfc5b5fd0c5c01de736dc42b54a06a28bf 100644 (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)))
 
 \f
 ;; Some of these are in tutorial--default-keys, so update that if you