summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-18 12:42:23 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-18 12:42:55 +0800
commit5480d02cc56bb787f6cd1f81bb1626793f6e1247 (patch)
treec15b5ca8b4cf73ab32e7df8b37b4e4cd8ceee699 /lisp/term
parentab5468e1a01ede3d571765ab491ce2c933ace70f (diff)
downloademacs-5480d02cc56bb787f6cd1f81bb1626793f6e1247.tar.gz
emacs-5480d02cc56bb787f6cd1f81bb1626793f6e1247.tar.bz2
emacs-5480d02cc56bb787f6cd1f81bb1626793f6e1247.zip
Preserve echo area message when running DND mouse movement function
* lisp/term/x-win.el (x-dnd-movement): Stop redisplaying here. * src/xterm.c (x_dnd_begin_drag_and_drop): Redisplay with the echo area preserved.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/x-win.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 3a0bd65f29c..55fe11a097c 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1568,8 +1568,7 @@ frames on all displays."
(defun x-dnd-movement (_frame position)
"Handle movement to POSITION during drag-and-drop."
- (dnd-handle-movement position)
- (redisplay))
+ (dnd-handle-movement position))
(defun x-device-class (name)
"Return the device class of NAME.