Function: x-dnd-init-motif-for-frame

x-dnd-init-motif-for-frame is a byte-compiled function defined in x-dnd.el.gz.

Signature

(x-dnd-init-motif-for-frame FRAME)

Documentation

Set _MOTIF_DRAG_RECEIVER_INFO for FRAME to indicate that we do Motif DND.

Source Code

;; Defined in /usr/src/emacs/lisp/x-dnd.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;  Motif protocol.

(defun x-dnd-init-motif-for-frame (frame)
  "Set _MOTIF_DRAG_RECEIVER_INFO for FRAME to indicate that we do Motif DND."
  (x-change-window-property "_MOTIF_DRAG_RECEIVER_INFO"
			    (list
			     (byteorder)
			     0			; The Motif DND version.
			     5			; We want drag dynamic.
			     0 0 0 0 0 0 0
			     0 0 0 0 0 0)	; Property must be 16 bytes.
			    frame "_MOTIF_DRAG_RECEIVER_INFO" 8 t))