1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

(x-register-dnd-atom, x-get-atom-name, x-send-client-message):

Declare as functions.
This commit is contained in:
Juanma Barranquero 2007-11-22 13:52:35 +00:00
parent 5ba0fd437f
commit cc63039ece

View file

@ -117,7 +117,7 @@ any protocol specific data.")
(defvar x-dnd-empty-state [nil nil nil nil nil nil nil])
(declare-function x-register-dnd-atom "xselect.c")
(defun x-dnd-init-frame (&optional frame)
"Setup drag and drop for FRAME (i.e. create appropriate properties)."
@ -422,6 +422,9 @@ otherwise return the frame coordinates."
(+ frame-real-top (nth 1 edges))))
(cons frame-real-left frame-real-top))))
(declare-function x-get-atom-name "xselect.c")
(declare-function x-send-client-message "xselect.c")
(defun x-dnd-handle-xdnd (event frame window message format data)
"Receive one XDND event (client message) and send the appropriate reply.
EVENT is the client message. FRAME is where the mouse is now.