From d40a54412d8b6a7ffc78fcdcc6ad0d53891ebca1 Mon Sep 17 00:00:00 2001 From: cxxxr Date: Sun, 30 Jul 2023 12:11:24 +0900 Subject: [PATCH] fix for nil case --- src/frame.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frame.lisp b/src/frame.lisp index eb5e3bcd1..f7e237ba0 100644 --- a/src/frame.lisp +++ b/src/frame.lisp @@ -192,7 +192,8 @@ redraw-display関数でキャッシュを捨てて画面全体を再描画しま (reverse (frame-floating-windows frame)) (window-list frame))) (when (within-window-p window x y) - (let ((overlay-x-offset (screen-left-width (window-screen window)))) + (let ((overlay-x-offset (or (screen-left-width (window-screen window)) + 0))) (return (values window (- x (window-x window) overlay-x-offset) (- y (window-y window))))))))