projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
235045f
)
; * lisp/x-dnd.el (x-dnd-init-frame): Ignore tip frames.
author
Po Lu
<luangruo@yahoo.com>
Sun, 24 Jul 2022 02:43:52 +0000
(10:43 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 24 Jul 2022 02:43:52 +0000
(10:43 +0800)
lisp/x-dnd.el
patch
|
blob
|
history
diff --git
a/lisp/x-dnd.el
b/lisp/x-dnd.el
index ac78deaab606a99d6f07d4ae7bc5dcab47531f1f..a61905cfac0221ae972a8cd56f9b0bf3423bd423 100644
(file)
--- a/
lisp/x-dnd.el
+++ b/
lisp/x-dnd.el
@@
-194,7
+194,8
@@
any protocol specific data.")
(defun x-dnd-init-frame (&optional frame)
"Setup drag and drop for FRAME (i.e. create appropriate properties)."
- (when (eq 'x (window-system frame))
+ (when (and (eq 'x (window-system frame))
+ (not (frame-parameter frame 'tooltip)))
(let ((x-fast-protocol-requests (not x-dnd-debug-errors)))
(x-register-dnd-atom "DndProtocol" frame)
(x-register-dnd-atom "_MOTIF_DRAG_AND_DROP_MESSAGE" frame)