diff options
author | Po Lu <luangruo@yahoo.com> | 2022-07-01 16:12:45 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-07-01 16:18:50 +0800 |
commit | ea5f5f81dd172ce40f10cd5e276d23839c24cbc1 (patch) | |
tree | 7ed2bc020142a5d95e4669e4d2add907bfd5b30d /test/lisp/emacs-lisp | |
parent | a08bb27517e840e14c8bb83dc96307a8771ab990 (diff) | |
download | emacs-ea5f5f81dd172ce40f10cd5e276d23839c24cbc1.tar.gz emacs-ea5f5f81dd172ce40f10cd5e276d23839c24cbc1.tar.bz2 emacs-ea5f5f81dd172ce40f10cd5e276d23839c24cbc1.zip |
Support receiving XDS drops correctly
* etc/NEWS: Announce new feature. It is not yet documented.
* lisp/x-dnd.el (x-dnd-known-types): Add XdndDirectSave0.
(x-dnd-direct-save-function): New defcustom.
(x-dnd-xdnd-to-action): Add `direct-save'.
(x-dnd-maybe-call-test-function): If XDS is present, use `direct-save'.
(x-dnd-find-type): New function.
(x-dnd-handle-xdnd): Handle XDS position and drop messages.
(x-dnd-handle-direct-save): Don't use local-file-uri if nil.
(x-dnd-save-direct): New function.
(x-dnd-handle-octet-stream-for-drop):
(x-dnd-handle-xds-drop): New functions.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions