]> git.eshelyaron.com Git - emacs.git/commit
Handle receiving new OffiX protocol during drag-and-drop
authorPo Lu <luangruo@yahoo.com>
Wed, 15 Jun 2022 12:08:51 +0000 (20:08 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 15 Jun 2022 12:09:45 +0000 (20:09 +0800)
commit12d6aad132bef7b4bf89ed0196332d85e25427de
tree98139517b2258490da9f37a1ab8511fddfad514e
parent0d383b592c2fd1d9b73ebd611d05d80089c7a3a6
Handle receiving new OffiX protocol during drag-and-drop

* lisp/x-dnd.el (x-dnd-types-alist, x-dnd-known-types): Add
DndTypeFile and DndTypeText.
(x-dnd-init-frame): Add _DND_PROTOCOL.
(x-dnd-handle-drag-n-drop-event): Handle _DND_PROTOCOL events.
(x-dnd-handle-old-kde): Drop event if proto is too new.
(x-dnd-offix-id-to-name): New list.
(x-dnd-handle-offix-file, x-dnd-handle-offix): New functions.
lisp/x-dnd.el