branch: externals/posframe
commit fc86eed3425f3646315bd7a572ac55ac55ead80f
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
* posframe.el (posframe-show): Fix :mouse-x/y value in mouse-banish code.
---
posframe.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/posframe.el b/posframe.el
index 44e6e19..cbee24b 100644
--- a/posframe.el
+++ b/posframe.el
@@ -699,10 +699,8 @@ You can use `posframe-delete-all' to delete all posframes."
;; Mouse banish
(posframe--mouse-banish
(list :parent-frame parent-frame
- :mouse-x (+ (car mouse-position)
- (car (frame-position parent-frame)))
- :mouse-y (+ (cdr mouse-position)
- (cdr (frame-position parent-frame)))
+ :mouse-x (car mouse-position)
+ :mouse-y (cdr mouse-position)
:posframe-x (car position)
:posframe-y (cdr position)
:posframe-width (frame-pixel-width posframe)