From c782d6de796c361f982b52dabb14c5ed1d28827a Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 16 Jun 2022 15:51:56 +0800 Subject: [PATCH] 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. --- lisp/x-dnd.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2