emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-posframe 9e5c4a9 060/195: Fix: Should the default w


From: Feng Shu
Subject: [elpa] externals/ivy-posframe 9e5c4a9 060/195: Fix: Should the default width be the frame instead of the window? #22
Date: Sat, 3 Oct 2020 07:11:45 -0400 (EDT)

branch: externals/ivy-posframe
commit 9e5c4a9d446f565834118a23b46b538a26c039bf
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    Fix: Should the default width be the frame instead of the window? #22
---
 ivy-posframe.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index 2fe050d..319ce6b 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -208,7 +208,7 @@ This variable is useful for `ivy-posframe-read-action' .")
        :background-color (face-attribute 'ivy-posframe :background)
        :foreground-color (face-attribute 'ivy-posframe :foreground)
        :height (or ivy-posframe-height ivy-height)
-       :width (or ivy-posframe-width (/ (window-width) 2))
+       :width (or ivy-posframe-width (/ (frame-width) 2))
        :min-height (or ivy-posframe-min-height 10)
        :min-width (or ivy-posframe-min-width 50)
        :internal-border-width ivy-posframe-border-width



reply via email to

[Prev in Thread] Current Thread [Next in Thread]