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

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

[elpa] master 26d36c7 07/33: Account for frame height and width when rep


From: Feng Shu
Subject: [elpa] master 26d36c7 07/33: Account for frame height and width when repositioning
Date: Fri, 14 Dec 2018 06:21:14 -0500 (EST)

branch: master
commit 26d36c7169b7e6ab57fdb1e045dfac7f80723bb4
Author: Aaron Jensen <address@hidden>
Commit: Aaron Jensen <address@hidden>

    Account for frame height and width when repositioning
    
    Fixes #8
---
 posframe.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/posframe.el b/posframe.el
index 393c1c0..59cc381 100644
--- a/posframe.el
+++ b/posframe.el
@@ -378,6 +378,8 @@ you can use `posframe-delete-all' to delete all posframes."
           :font-height ,font-height
           :font-width ,font-width
           :posframe ,posframe
+          :height ,(frame-pixel-height posframe)
+          :width ,(frame-pixel-width posframe)
           :posframe-buffer ,posframe-buffer
           :parent-frame ,parent-frame
           :parent-window ,parent-window



reply via email to

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