branch: master
commit c94bf8a1481b094f48ba729c3c9d80df92dd2f67
Merge: 3a8c29e 26d36c7
Author: tumashu <tuma...@163.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #9 from 
aaronjensen/account-for-frame-height-and-width-when-positioning
    
    Account for frame height and width when repositioning
---
 posframe.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/posframe.el b/posframe.el
index b1bc196..26b843c 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