diff options
Diffstat (limited to 'extensions/corfu-popupinfo.el')
| -rw-r--r-- | extensions/corfu-popupinfo.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/corfu-popupinfo.el b/extensions/corfu-popupinfo.el index 39e84bc..972ef21 100644 --- a/extensions/corfu-popupinfo.el +++ b/extensions/corfu-popupinfo.el @@ -259,7 +259,7 @@ relative to the candidate popup, its value can be right or left." (corfu-popupinfo--frame-geometry (frame-parent corfu--frame))) (`(,cfx ,cfy ,cfw ,_cfh) (corfu-popupinfo--frame-geometry corfu--frame)) (x-on-right (+ cfx cfw (- border))) - (x-on-left (- cfx width border)) + (x-on-left (max 0 (- cfx width border))) (w-remaining-right (- pfw 1 x-on-right border border)) (w-remaining-left (- cfx 1 border))) (cond |
