]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Motif drag-and-drop timestamps
authorPo Lu <luangruo@yahoo.com>
Thu, 16 Jun 2022 07:51:56 +0000 (15:51 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 16 Jun 2022 07:52:36 +0000 (15:52 +0800)
* 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

index 52f7340657ab22472c8ed4576a6cf59aeb743456..531a58f71f956f51307122dd3217ffc0006b4c9c 100644 (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