From: Po Lu Date: Thu, 16 Jun 2022 07:51:56 +0000 (+0800) Subject: Fix Motif drag-and-drop timestamps X-Git-Tag: emacs-29.0.90~1447^2~1708^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c782d6de796c361f982b52dabb14c5ed1d28827a;p=emacs.git 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. --- diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el index 52f7340657a..531a58f71f9 100644 --- a/lisp/x-dnd.el +++ b/lisp/x-dnd.el @@ -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