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

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

[elpa] externals/posframe 469894b 3/3: * posframe.el (posframe--mouse-ba


From: ELPA Syncer
Subject: [elpa] externals/posframe 469894b 3/3: * posframe.el (posframe--mouse-banish): move to (0, 0) when posframe-mouse-banish is non-nil and not a cons.
Date: Wed, 21 Apr 2021 20:57:10 -0400 (EDT)

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

    * posframe.el (posframe--mouse-banish): move to (0, 0) when 
posframe-mouse-banish is non-nil and not a cons.
---
 posframe.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/posframe.el b/posframe.el
index 544b875..aa08aea 100644
--- a/posframe.el
+++ b/posframe.el
@@ -806,7 +806,7 @@ 
https://github.com/tumashu/posframe/issues/4#issuecomment-357514918";
   (let ((x-y (pcase posframe-mouse-banish
                (`(,x . ,y) (cons x y))
                ('nil nil)
-               ('t '(0 . 0)))))
+               (_ '(0 . 0)))))
     (when (and x-y
                ;; Do not banish mouse when posframe can accept focus.
                ;; See posframe-show's accept-focus argument.



reply via email to

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