From fa286eb8f492d4ebb1490c47185ad21a8ebafeae Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Sun, 12 Apr 2026 10:54:56 -0500 Subject: [PATCH] I believe corfu has been updated everywhere --- lisp/corfu-hack.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/corfu-hack.el b/lisp/corfu-hack.el index 75a1406..639cc6a 100644 --- a/lisp/corfu-hack.el +++ b/lisp/corfu-hack.el @@ -57,7 +57,7 @@ ;; (get-focused-monitor-geometry) -(defun advise-corfu-make-frame-with-monitor-awareness (orig-fun frame x y width height buffer) +(defun advise-corfu-make-frame-with-monitor-awareness (orig-fun frame x y width height) "Advise `corfu--make-frame` to be monitor-aware, adjusting X and Y according to the focused monitor." ;; Get the geometry of the currently focused monitor (let* ((monitor-geometry (get-focused-monitor-geometry)) @@ -72,7 +72,7 @@ (new-y (+ monitor-y y))) ;; Call the original function with potentially adjusted coordinates - (funcall orig-fun frame new-x new-y width height buffer))) + (funcall orig-fun frame new-x new-y width height))) (advice-add 'corfu--make-frame :around #'advise-corfu-make-frame-with-monitor-awareness)