]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't display mouse face during mouse drag-and-drop
authorPo Lu <luangruo@yahoo.com>
Tue, 7 Jun 2022 02:27:03 +0000 (10:27 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 7 Jun 2022 02:27:03 +0000 (10:27 +0800)
* lisp/mouse.el (mouse-drag-and-drop-region): Don't display
mouse face, since it leads to a lot of flicker.

lisp/mouse.el

index 737c5078704ed1ac99427106359f1dbc58f0916f..024a018bb91e7fff0520eeb74d85fb68bd9f79c7 100644 (file)
@@ -3085,6 +3085,7 @@ is copied instead of being cut."
                      (display-multi-frame-p)
                      (require 'tooltip))
             mouse-drag-and-drop-region-show-tooltip))
+         (mouse-highlight nil)
          (start (region-beginning))
          (end (region-end))
          (point (point))