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

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

[elpa] externals/posframe faa90e0 5/6: * posframe-benchmark.el (posframe


From: ELPA Syncer
Subject: [elpa] externals/posframe faa90e0 5/6: * posframe-benchmark.el (posframe-benchmark-alist): Add set-mouse-position benchmark.
Date: Wed, 2 Jun 2021 21:57:21 -0400 (EDT)

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

    * posframe-benchmark.el (posframe-benchmark-alist): Add set-mouse-position 
benchmark.
---
 posframe-benchmark.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/posframe-benchmark.el b/posframe-benchmark.el
index 9168151..6edaf13 100644
--- a/posframe-benchmark.el
+++ b/posframe-benchmark.el
@@ -50,7 +50,9 @@
       (posframe--get-font-height
        (posframe--get-font-height (point-min)))
       (posframe--mouse-banish
-       (posframe--mouse-banish (window-frame))))))
+       (posframe--mouse-banish (window-frame)))
+      (set-mouse-position
+       (set-mouse-position (window-frame) 0 0)))))
 
 (defun posframe-benchmark ()
   "Benchmark tool for posframe."



reply via email to

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