Fix Motif drag-and-drop timestamps

* lisp/x-dnd.el (x-dnd-handle-motif): Pass timestamp when
retrieving DND selection value.  Bug found on Solaris 2.6.
This commit is contained in:
Po Lu 2022-06-16 15:51:56 +08:00
parent 1054d38bc7
commit c782d6de79

View file

@ -967,7 +967,8 @@ Return a vector of atoms containing the selection targets."
(when (and reply-action atom-name)
(let* ((value (x-get-selection-internal
(intern atom-name)
(intern (x-dnd-current-type window)))))
(intern (x-dnd-current-type window))
timestamp)))
(when value
(condition-case info
(x-dnd-drop-data event frame window value