[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/x-dnd.el
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/x-dnd.el |
Date: |
Sat, 05 Feb 2005 11:53:00 -0500 |
Index: emacs/lisp/x-dnd.el
diff -c emacs/lisp/x-dnd.el:1.11 emacs/lisp/x-dnd.el:1.12
*** emacs/lisp/x-dnd.el:1.11 Sun Oct 31 08:33:38 2004
--- emacs/lisp/x-dnd.el Sat Feb 5 16:53:00 2005
***************
*** 557,574 ****
WINDOW is the window within FRAME where the mouse is now.
FORMAT is 32 (not used). MESSAGE is the data part of an XClientMessageEvent."
(cond ((equal "XdndEnter" message)
! (let ((version (ash (car (aref data 1)) -8))
! (more-than-3 (cdr (aref data 1)))
! (dnd-source (aref data 0)))
! (x-dnd-save-state
! window nil nil
! (if (> more-than-3 0)
! (x-window-property "XdndTypeList"
! frame "AnyPropertyType"
! dnd-source nil t)
! (vector (x-get-atom-name (aref data 2))
! (x-get-atom-name (aref data 3))
! (x-get-atom-name (aref data 4)))))))
((equal "XdndPosition" message)
(let* ((x (car (aref data 2)))
--- 557,576 ----
WINDOW is the window within FRAME where the mouse is now.
FORMAT is 32 (not used). MESSAGE is the data part of an XClientMessageEvent."
(cond ((equal "XdndEnter" message)
! (let* ((flags (aref data 1))
! (version (and (consp flags) (ash (car flags) -8)))
! (more-than-3 (and (consp flags) (cdr flags)))
! (dnd-source (aref data 0)))
! (if version ;; If flags is bad, version will be nil.
! (x-dnd-save-state
! window nil nil
! (if (> more-than-3 0)
! (x-window-property "XdndTypeList"
! frame "AnyPropertyType"
! dnd-source nil t)
! (vector (x-get-atom-name (aref data 2))
! (x-get-atom-name (aref data 3))
! (x-get-atom-name (aref data 4))))))))
((equal "XdndPosition" message)
(let* ((x (car (aref data 2)))
- [Emacs-diffs] Changes to emacs/lisp/x-dnd.el,
Jan Djärv <=