From: Juri Linkov <juri@linkov.net>
To: 38213@debbugs.gnu.org
Subject: bug#38213: 27.0.50; add tooltip move-frame handling to mouse-avoidance-mode
Date: Fri, 15 Nov 2019 01:32:03 +0200 [thread overview]
Message-ID: <87a78y9fto.fsf@mail.linkov.net> (raw)
Some recent change caused tooltip frames to emit a new kind of event
'move-frame' (not sure should I try bisecting to find that commit)
that forces the mouse pointer in mouse-avoidance-mode to move
and thus removing the tooltip frame immediately after displaying it.
This patch adds handling of the new event 'move-frame':
diff --git a/lisp/avoid.el b/lisp/avoid.el
index 43e5062b76..9d6e502343 100644
--- a/lisp/avoid.el
+++ b/lisp/avoid.el
@@ -338,7 +338,7 @@ mouse-avoidance-ignore-p
(let ((modifiers (event-modifiers (car last-input-event))))
(or (memq (car last-input-event)
'(mouse-movement scroll-bar-movement
- select-window focus-out))
+ select-window focus-out move-frame))
(memq 'click modifiers)
(memq 'double modifiers)
(memq 'triple modifiers)
next reply other threads:[~2019-11-14 23:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-14 23:32 Juri Linkov [this message]
2019-11-15 8:13 ` bug#38213: 27.0.50; add tooltip move-frame handling to mouse-avoidance-mode martin rudalics
2019-11-15 8:26 ` Eli Zaretskii
2019-11-15 8:53 ` martin rudalics
2019-11-15 9:50 ` Eli Zaretskii
2019-11-15 16:35 ` martin rudalics
2019-11-15 16:57 ` Eli Zaretskii
2019-11-16 8:19 ` martin rudalics
2019-11-21 21:31 ` Juri Linkov
2019-11-22 8:09 ` martin rudalics
2019-11-26 22:12 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a78y9fto.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=38213@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).