Skip to content

Commit f044da7

Browse files
author
Po Lu
committed
Fix tooltip face overwriting dragged text strings during mouse DND
* lisp/mouse.el (mouse-drag-and-drop-region): Copy `text-tooltip' before showing it. Do not merge to master.
1 parent a769cbf commit f044da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/mouse.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3049,7 +3049,7 @@ is copied instead of being cut."
30493049

30503050
;; Show a tooltip.
30513051
(if mouse-drag-and-drop-region-show-tooltip
3052-
(tooltip-show text-tooltip)
3052+
(tooltip-show (copy-sequence text-tooltip))
30533053
(tooltip-hide))
30543054

30553055
;; Show cursor and highlight the original region.

0 commit comments

Comments
 (0)