]> git.eshelyaron.com Git - emacs.git/commit
Improve compliance with the XDS and XDND protocols
authorPo Lu <luangruo@yahoo.com>
Thu, 30 Jun 2022 06:13:30 +0000 (14:13 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 30 Jun 2022 06:15:50 +0000 (14:15 +0800)
commit25887d634f624369559ab072beea0d1e2d6886cd
tree8d7454cff4898e9624b8c33c7de2c88fa6d65282
parent76e4179774fc32dae878b135ca58a53b1a294e78
Improve compliance with the XDS and XDND protocols

* lisp/select.el (xselect-convert-to-text-uri-list): Return a
type of `text/uri-list' instead of STRING or C_STRING.

* lisp/x-dnd.el (x-dnd-xds-performed): New defvar.
(x-dnd-handle-direct-save): Set it to t and handle URIs with
hostnames correctly. Also return errors correctly.
(x-dnd-handle-octet-stream): New function.
(x-dnd-do-direct-save): Handle application/octet-stream, check
results.
lisp/select.el
lisp/x-dnd.el