[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 88762b4 1/2: Run 'window--adjust-process-windows'
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] emacs-26 88762b4 1/2: Run 'window--adjust-process-windows' when frame size changes (Bug#32720) |
Date: |
Sun, 18 Nov 2018 03:25:01 -0500 (EST) |
branch: emacs-26
commit 88762b4063a42a69234bda74b1626b646734715a
Author: Gary Fredericks <address@hidden>
Commit: Martin Rudalics <address@hidden>
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
---
lisp/window.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/window.el b/lisp/window.el
index 92cd8c2..94ac65c 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