diff options
author | Po Lu <luangruo@yahoo.com> | 2022-06-12 09:32:30 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-06-12 09:32:33 +0800 |
commit | 0adbb21ece4af494e7050281dc022d5f7a11f196 (patch) | |
tree | c024eccd21178d0bd5260f5498c6712388ed99f2 /test/lisp/emacs-lisp/shortdoc-tests.el | |
parent | 98365c7b1e1e1d3d5f7185f2d4a2baa1c65b4540 (diff) | |
download | emacs-0adbb21ece4af494e7050281dc022d5f7a11f196.tar.gz emacs-0adbb21ece4af494e7050281dc022d5f7a11f196.tar.bz2 emacs-0adbb21ece4af494e7050281dc022d5f7a11f196.zip |
Don't rely on XdndAware on frames for dropping to work
* src/xterm.c (x_dnd_get_target_window): New parameter
WAS_FRAME. If toplevel is a frame, set it and clear proto and
motif.
(x_dnd_send_enter, x_dnd_send_position, x_dnd_send_leave)
(x_dnd_send_drop): Remove special-cased self dropping code.
(x_dnd_note_self_position, x_dnd_note_self_drop): New functions.
(x_dnd_begin_drag_and_drop, x_dnd_update_state):
(handle_one_xevent): Handle our own frames using those functions
instead.
Diffstat (limited to 'test/lisp/emacs-lisp/shortdoc-tests.el')
0 files changed, 0 insertions, 0 deletions