* 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.
(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.
Fposn_at_x_y (x, y, frame_object, Qnil));
x_dnd_unwind_flag = false;
unbind_to (ref, Qnil);
+
+ /* Redisplay this way to preserve the echo area.
+ Otherwise, the contents will abruptly disappear
+ when the mouse moves over a frame. */
+ redisplay_preserve_echo_area (33);
}
}