diff --git a/lisp/window.el b/lisp/window.el index e806677..3a7f7dc 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -9610,7 +9610,7 @@ window--process-window-list 1 t)) process-windows)) -(defun window--adjust-process-windows () +(defun window--adjust-process-windows (_frame_or_window) "Update process window sizes to match the current window configuration." (when (fboundp 'process-list) (dolist (procwin (window--process-window-list)) @@ -9624,7 +9624,7 @@ window--adjust-process-windows (when size (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 'window--adjust-process-windows)