summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-06-07 10:27:03 +0800
committerPo Lu <luangruo@yahoo.com>2022-06-07 10:27:03 +0800
commitcbc0d8f7c76c97efbc8595d8bd7c840975884786 (patch)
treeb9b07b43182dfd29796b669e02989429f6d883f3 /lisp/mouse.el
parente21c761d13faa158fb8445a0df4a7af666ea2782 (diff)
downloademacs-cbc0d8f7c76c97efbc8595d8bd7c840975884786.tar.gz
emacs-cbc0d8f7c76c97efbc8595d8bd7c840975884786.tar.bz2
emacs-cbc0d8f7c76c97efbc8595d8bd7c840975884786.zip
Don't display mouse face during mouse drag-and-drop
* lisp/mouse.el (mouse-drag-and-drop-region): Don't display mouse face, since it leads to a lot of flicker.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 737c5078704..024a018bb91 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -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))