[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
calculate
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))
2)
- (- 0
+ (- (plist-get info :parent-frame-height)
+ (plist-get info :posframe-height)
(plist-get info :mode-line-height)
(plist-get info :minibuffer-height))))
- [elpa] externals/posframe updated (395aca9 -> f8cb9d6), Feng Shu, 2020/11/17
- [elpa] externals/posframe 43b33a7 1/6: Fix posframe-poshandler-frame-bottom-center,
Feng Shu <=
- [elpa] externals/posframe 4120336 5/6: Merge pull request #81 from akermu/minor_fixes, Feng Shu, 2020/11/17
- [elpa] externals/posframe b426c75 4/6: Forgot a parenthesis, Feng Shu, 2020/11/17
- [elpa] externals/posframe cdc3b86 3/6: Merge pull request #80 from akermu/minor_fixes, Feng Shu, 2020/11/17
- [elpa] externals/posframe adc5ba1 2/6: Guess desktop environment also from $DESKTOP_SESSION, Feng Shu, 2020/11/17
- [elpa] externals/posframe f8cb9d6 6/6: Version 0.8.3, Feng Shu, 2020/11/17