]> git.eshelyaron.com Git - emacs.git/commit
Don't rely on TARGETS to read selection targets for Motif DND
authorPo Lu <luangruo@yahoo.com>
Fri, 10 Jun 2022 03:45:27 +0000 (11:45 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 10 Jun 2022 03:45:49 +0000 (11:45 +0800)
commit66aaedffd6b595e03ffcc2bc16c24d7cdd710d40
tree4ec9d15c42415b3e5de7a597a40e0f253f00b91d
parentfeb94707a9b1a1e35889ce743783d370fba2e739
Don't rely on TARGETS to read selection targets for Motif DND

* lisp/x-dnd.el (x-dnd-types-alist):
(x-dnd-known-types): Fix formatting.
(x-dnd-xm-unpack-targets-table-header):
(x-dnd-xm-read-single-rec):
(x-dnd-xm-read-targets-table):
(x-dnd-xm-read-targets): New functions.
(x-dnd-handle-motif): Read targets from the targets table
of the drag window instead of the selection's TARGET target.
lisp/x-dnd.el