diff options
author | Po Lu <luangruo@yahoo.com> | 2022-04-06 20:29:30 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-04-06 20:30:24 +0800 |
commit | c0bb11432ee07228d8819cc98c6ce29ccd42ae97 (patch) | |
tree | 38ea48626b74e8fd4fd2826397b7dff1b212b39a /test/lisp/emacs-lisp/generator-tests.el | |
parent | 406da54bc63b1099b6e51b3d3e025712a16a1912 (diff) | |
download | emacs-c0bb11432ee07228d8819cc98c6ce29ccd42ae97.tar.gz emacs-c0bb11432ee07228d8819cc98c6ce29ccd42ae97.tar.bz2 emacs-c0bb11432ee07228d8819cc98c6ce29ccd42ae97.zip |
Move some X11 drag and drop processing to Lisp
* lisp/term/x-win.el: Set unsupported drop function.
* lisp/x-dnd.el (x-dnd-handle-unsupported-drop): New function.
* src/keyboard.c (kbd_buffer_get_event): Handle
UNSUPPORTED_DROP_EVENT.
* src/termhooks.h (enum event_kind): New event
`UNSUPPORTED_DROP_EVENT'.
* src/xterm.c (x_dnd_send_unsupported_drop): Send those events
instead.
(x_dnd_do_unsupported_drop): Move actual unsupported drop
handling here.
(syms_of_xterm): New variable `x-dnd-unsupported-drop-function'.
* src/xterm.h: Update prototypes.
Diffstat (limited to 'test/lisp/emacs-lisp/generator-tests.el')
0 files changed, 0 insertions, 0 deletions