emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c782d6de79: Fix Motif drag-and-drop timestamps


From: Po Lu
Subject: master c782d6de79: Fix Motif drag-and-drop timestamps
Date: Thu, 16 Jun 2022 03:52:46 -0400 (EDT)

branch: master
commit c782d6de796c361f982b52dabb14c5ed1d28827a
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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 52f7340657..531a58f71f 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]