diff options
author | Po Lu <luangruo@yahoo.com> | 2022-06-16 12:49:07 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-06-16 12:49:52 +0800 |
commit | 6dd4c5b953b666a9079910665d770ed56ecbf65d (patch) | |
tree | 3f84fb7df70014cb4552d90e7c49e572f79f6b67 /lisp/sqlite-mode.el | |
parent | 343482d641511b54aa0444791770b4ea70d27cc7 (diff) | |
download | emacs-6dd4c5b953b666a9079910665d770ed56ecbf65d.tar.gz emacs-6dd4c5b953b666a9079910665d770ed56ecbf65d.tar.bz2 emacs-6dd4c5b953b666a9079910665d770ed56ecbf65d.zip |
Improve drag atom computation
* src/xterm.c (xm_get_drag_window): Avoid leak if error occured
creating drag window. Also use StructureNotifyMask instead of
ButtonPressMask.
(xm_get_drag_atom_1): Update. Make EMACS_DRAG_ATOM a list of
atoms and use the first one that isn't currently owned.
(xm_get_drag_atom): Stop owning selection here.
(xm_setup_drag_info): Record chosen atom.
(x_dnd_cleanup_drag_and_drop, x_dnd_begin_drag_and_drop)
(x_dnd_update_state, handle_one_xevent, x_connection_closed):
Use chosen atom.
* src/xterm.h (struct x_display_info): New field
`motif_drag_atom_time'.
Diffstat (limited to 'lisp/sqlite-mode.el')
0 files changed, 0 insertions, 0 deletions