From c67dbafdf7ab3efd61a34df4ab4bdee93723a852 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Thu, 10 Jun 2021 18:59:12 +0200 Subject: Take window-tab-line-height into account (Fix #25) --- corfu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corfu.el b/corfu.el index 84aa10d..8528962 100644 --- a/corfu.el +++ b/corfu.el @@ -222,7 +222,7 @@ Set to nil in order to disable confirmation." (x (max 0 (min (+ (car edge) x (- (alist-get 'child-frame-border-width corfu--frame-parameters))) (- (frame-pixel-width) width)))) - (yb (+ (cadr edge) y lh)) + (yb (+ (cadr edge) (window-tab-line-height) y lh)) (y (if (> (+ yb height lh lh) (frame-pixel-height)) (- yb height lh 1) yb)) -- cgit v1.0