]> git.eshelyaron.com Git - emacs.git/commit
Improve handling of fallback drop protocols
authorPo Lu <luangruo@yahoo.com>
Thu, 16 Jun 2022 06:33:30 +0000 (14:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 16 Jun 2022 06:33:30 +0000 (14:33 +0800)
commite5dbe60e3cfbdfd3a3e1a045e8557a92cb146af0
treee7b161312c7f0bec8438bd1ce7d83f815d21ba1f
parent55e9d729ca34c4dd05bfb0d606425b8fc27d53ca
Improve handling of fallback drop protocols

* lisp/x-dnd.el (x-dnd-use-offix-drop): New value `files', which
means to only drop files using the OffiX protocol.  Make it the
default.
(x-dnd-handle-old-kde): Handle other data types correctly.
(x-dnd-offix-old-kde-to-name): New variable.
(x-dnd-offix-id-to-name): Fix typo in doc string.
(x-dnd-handle-unsupported-drop): Implement new value.
lisp/x-dnd.el