Subject: Re: bug#36269: 26.2; mouse-drag-and-drop-region conflicts with mouse-avoidance

From: martin rudalics <[email-masked]>
Date: Tue, 18 Jun 2019 10:19:32 +0200

> If mouse-avoidance is turned on, the new mouse-drag-and-drop-region
 > functionality is unusable; the dragging operation puts the mouse
 > pointer over the cursor, and then the mouse pointer moves randomly
 > in order to avoid it.

It's somewhat surprising that nobody noted this so far.

 > I'd suggest that, mouse-avoidance be turned off while a mouse-drag
 > region is in progress, and that it be restored to its original state when the dragging operation is done.

Could you write (and test) a patch in this regard?  At the end of
'mouse-drag-and-drop-region' there are a "Clean up" and a "Restore old
states" part where restoring the old 'mouse-avoidance-mode' could be
added.

Thank you, martin