[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico-posframe 97e55c6 1/3: * vertico-posframe.el (ve
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico-posframe 97e55c6 1/3: * vertico-posframe.el (vertico-posframe--create-minibuffer-cover): y = frame height. |
Date: |
Fri, 29 Oct 2021 23:57:29 -0400 (EDT) |
branch: externals/vertico-posframe
commit 97e55c6bbb080f5244311575ca99d8c27b7e1cde
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* vertico-posframe.el (vertico-posframe--create-minibuffer-cover): y =
frame height.
---
vertico-posframe.el | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/vertico-posframe.el b/vertico-posframe.el
index 18ed198..481e153 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -208,13 +208,10 @@ Show STRING when it is a string."
(defun vertico-posframe--create-minibuffer-cover (&optional string)
"Create minibuffer cover."
- (let* ((color (face-background 'default nil))
- (win (active-minibuffer-window))
- (x (window-pixel-left win))
- (y (window-pixel-top win)))
+ (let ((color (face-background 'default nil)))
(posframe-show vertico-posframe--minibuffer-cover
:string (or string (make-string 120 ? ))
- :position (cons x y)
+ :position (cons 0 (frame-pixel-height))
:background-color color
:foreground-color color
:lines-truncate t