changeset 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 9f8678beb7e3
children 805ccb94d5d6
files lisp/ChangeLog lisp/x-dnd.el
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Aug 11 07:31:14 2006 +0000
+++ b/lisp/ChangeLog	Fri Aug 11 07:32:39 2006 +0000
@@ -1,3 +1,7 @@
+2006-08-11  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* x-dnd.el (x-dnd-init-frame): Call x-register-dnd-atom.
+
 2006-08-10  Romain Francoise  <romain@orebokech.com>
 
 	* textmodes/dns-mode.el: Alias `zone-mode' to `dns-mode'.
--- 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))