diff options
author | Po Lu <luangruo@yahoo.com> | 2022-04-04 20:32:46 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-04-04 20:32:46 +0800 |
commit | 84cf3be6f77f61dd361acdb3683ab9d71e76c995 (patch) | |
tree | ccf6ea1ff0d6ac533f3665991f311750af99f738 /lisp/edmacro.el | |
parent | 3d2531c12c54f9ab923603655016077450c23ab2 (diff) | |
download | emacs-84cf3be6f77f61dd361acdb3683ab9d71e76c995.tar.gz emacs-84cf3be6f77f61dd361acdb3683ab9d71e76c995.tar.bz2 emacs-84cf3be6f77f61dd361acdb3683ab9d71e76c995.zip |
Handle mouse movement correctly during DND from one of our own frames
* lisp/dnd.el (dnd-handle-movement): Select the window specified
in posn.
* lisp/term/x-win.el (x-dnd-movement): New function.
(x-dnd-movement-function): Set it as the default.
* src/frame.c (delete_frame): Prevent deleting the drop source
frame.
* src/xterm.c (x_dnd_send_position): Set new mouse movement
flags if the target window is one of our own frames.
(x_dnd_begin_drag_and_drop): Call DND movement function whenever
appropriate.
(x_free_frame_resources): Remove useless code.
(syms_of_xterm): New defvar `x-dnd-movement-function'.
* src/xterm.h: Update prototypes.
Diffstat (limited to 'lisp/edmacro.el')
0 files changed, 0 insertions, 0 deletions