Mercurial > emacs
diff lisp/x-dnd.el @ 72356:1865f719f226
* x-dnd.el (x-dnd-init-frame): Call x-register-dnd-atom.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Fri, 11 Aug 2006 07:32:39 +0000 |
parents | b1742b0066f2 |
children | 030d7ce12631 7f3f771c85fa |
line wrap: on
line diff
--- a/lisp/x-dnd.el Fri Aug 11 07:31:14 2006 +0000 +++ b/lisp/x-dnd.el Fri Aug 11 07:32:39 2006 +0000 @@ -121,6 +121,12 @@ (defun x-dnd-init-frame (&optional frame) "Setup drag and drop for FRAME (i.e. create appropriate properties)." + (x-register-dnd-atom "DndProtocol" frame) + (x-register-dnd-atom "_MOTIF_DRAG_AND_DROP_MESSAGE" frame) + (x-register-dnd-atom "XdndEnter" frame) + (x-register-dnd-atom "XdndPosition" frame) + (x-register-dnd-atom "XdndLeave" frame) + (x-register-dnd-atom "XdndDrop" frame) (x-dnd-init-xdnd-for-frame frame) (x-dnd-init-motif-for-frame frame))