diff options
author | Po Lu <luangruo@yahoo.com> | 2022-07-19 09:33:09 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-07-19 09:33:09 +0800 |
commit | bcbd06b4bbb57d285988937f82afd70538303536 (patch) | |
tree | 9f81f7179b3111117f99d27d1f79cbccd6283ca3 /lisp/emacs-lisp/timer-list.el | |
parent | 7a937167030d44341409b3a2ac7ff1704142a191 (diff) | |
download | emacs-bcbd06b4bbb57d285988937f82afd70538303536.tar.gz emacs-bcbd06b4bbb57d285988937f82afd70538303536.tar.bz2 emacs-bcbd06b4bbb57d285988937f82afd70538303536.zip |
Make drag-and-drop wheel movement work locally too on X
This is provided by the XDND protocol, so it isn't fair for it
to not work with local drag-and-drop.
* lisp/x-dnd.el (x-dnd-note-wheel-movement): New function. Set
it as the `x-dnd-wheel-function'.
* src/xterm.c (x_dnd_cleanup_drag_and_drop): Clear new flags.
(x_dnd_note_self_wheel): New function. Set some flags.
(x_dnd_process_quit, x_dnd_begin_drag_and_drop, handle_one_xevent)
(x_connection_closed, x_delete_terminal, mark_xterm): Handle and
set new wheel movement flags
(syms_of_xterm): New variable `x-dnd-wheel-function'.
Diffstat (limited to 'lisp/emacs-lisp/timer-list.el')
0 files changed, 0 insertions, 0 deletions