diff options
author | Po Lu <luangruo@yahoo.com> | 2022-04-05 11:37:29 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-04-05 11:37:29 +0800 |
commit | 7f6c9253838baba7cdd38573179bc0d3a724e25b (patch) | |
tree | fdb7418f6efd416cbefd0f70bb99c41bc3ee39a9 /test/lisp/emacs-lisp/lisp-tests.el | |
parent | c51d7c9e43f5bb0b030a992b291f31d31702437d (diff) | |
download | emacs-7f6c9253838baba7cdd38573179bc0d3a724e25b.tar.gz emacs-7f6c9253838baba7cdd38573179bc0d3a724e25b.tar.bz2 emacs-7f6c9253838baba7cdd38573179bc0d3a724e25b.zip |
Add support for dragging text onto windows that don't support any DND protocol
* src/xselect.c (x_own_selection): Export function.
(x_handle_selection_request): Handle selection requests to the
pending DND time.
(x_set_pending_dnd_time): New function.
* src/xterm.c (x_dnd_send_unsupported_drop): New function.
Implement according to the suggestions in the XDND protocol
specification.
(x_dnd_get_target_window): Return the toplevel window as well.
(x_dnd_cleanup_drag_and_drop, x_dnd_begin_drag_and_drop)
(x_dnd_update_state, handle_one_xevent): Send unsupported drops
and use last seen toplevel instead of target for `return_frame'.
* src/xterm.h: Update prototypes.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-tests.el')
0 files changed, 0 insertions, 0 deletions