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

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

[elpa] externals/posframe fc86eed 2/3: * posframe.el (posframe-show): Fi


From: ELPA Syncer
Subject: [elpa] externals/posframe fc86eed 2/3: * posframe.el (posframe-show): Fix :mouse-x/y value in mouse-banish code.
Date: Tue, 26 Oct 2021 23:57:23 -0400 (EDT)

branch: externals/posframe
commit fc86eed3425f3646315bd7a572ac55ac55ead80f
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * 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)



reply via email to

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