unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38213: 27.0.50; add tooltip move-frame handling to mouse-avoidance-mode
@ 2019-11-14 23:32 Juri Linkov
  2019-11-15  8:13 ` martin rudalics
  2019-11-15  8:26 ` Eli Zaretskii
  0 siblings, 2 replies; 11+ messages in thread
From: Juri Linkov @ 2019-11-14 23:32 UTC (permalink / raw)
  To: 38213

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)





^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-11-26 22:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 23:32 bug#38213: 27.0.50; add tooltip move-frame handling to mouse-avoidance-mode Juri Linkov
2019-11-15  8:13 ` 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

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