diff options
author | Po Lu <luangruo@yahoo.com> | 2022-06-13 15:01:06 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-06-13 15:02:41 +0800 |
commit | a1a435b3f6c7afa910da2256334471ba49010974 (patch) | |
tree | add823f06b7f05d4dd4a57d54854e8af2ccae67f /lisp/emacs-lisp/crm.el | |
parent | 7cd1f432c62d5677fb2d44ed05ed9546c3c292dc (diff) | |
download | emacs-a1a435b3f6c7afa910da2256334471ba49010974.tar.gz emacs-a1a435b3f6c7afa910da2256334471ba49010974.tar.bz2 emacs-a1a435b3f6c7afa910da2256334471ba49010974.zip |
Respect test function when performing local drag-and-drop
* lisp/x-dnd.el (x-dnd-test-function): Fix doc string to
describe what is actually accepted.
(x-dnd-known-types, x-dnd-targets-list): Fix coding style.
(x-dnd-handle-native-drop): New function.
* src/xselect.c (x_atom_to_symbol): Export.
* src/xterm.c (x_dnd_note_self_drop): Call new variable to
determine what action to return.
(x_clear_dnd_action): New function.
(x_dnd_begin_drag_and_drop): Respect new variable.
(syms_of_xterm): New defvar `x-dnd-native-test-function'.
* src/xterm.h: Update prototypes.
Diffstat (limited to 'lisp/emacs-lisp/crm.el')
0 files changed, 0 insertions, 0 deletions