[Top][All Lists]

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

[elpa] externals/posframe 43b33a7 1/6: Fix posframe-poshandler-frame-bot

From: Feng Shu
Subject: [elpa] externals/posframe 43b33a7 1/6: Fix posframe-poshandler-frame-bottom-center
Date: Tue, 17 Nov 2020 21:39:16 -0500 (EST)

branch: externals/posframe
commit 43b33a7134a5ff26baede61b65eccea5c565d237
Author: Lukas Fuermetz <lukas.fuermetz@partner.esrlabs.com>
Commit: Lukas Fuermetz <lukas.fuermetz@partner.esrlabs.com>

    Fix posframe-poshandler-frame-bottom-center
    On OS X the negative numbers for the position won't work, so instead 
    the absolute number from the top.
 posframe.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/posframe.el b/posframe.el
index fa859db..33eeb6a 100644
--- a/posframe.el
+++ b/posframe.el
@@ -1085,7 +1085,8 @@ bottom center.  The structure of INFO can be found in 
docstring of
   (cons (/ (- (plist-get info :parent-frame-width)
               (plist-get info :posframe-width))
-        (- 0
+        (- (plist-get info :parent-frame-height)
+           (plist-get info :posframe-height)
            (plist-get info :mode-line-height)
            (plist-get info :minibuffer-height))))

reply via email to

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