Subject: 27.0.50; add tooltip move-frame handling to mouse-avoidance-mode

From: Juri Linkov <[email-masked]>
Date: Fri, 15 Nov 2019 01:32:03 +0200

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)