]> git.eshelyaron.com Git - emacs.git/commit
Fix frame destruction issues and misuse of x_get_atom_name
authorPo Lu <luangruo@yahoo.com>
Sat, 28 May 2022 01:37:29 +0000 (09:37 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 28 May 2022 01:37:29 +0000 (09:37 +0800)
commitac13957b86ad699a76a0b248063551f971c4cef9
treec8c92ca5f92802e7807d7aaa58ea112b836e39cc
parentb2c8e8a299dadce7dc1bae2adf73ee9303856bb6
Fix frame destruction issues and misuse of x_get_atom_name

* src/frame.c (delete_frame): Prevent deleting the dnd frame
while waiting for finish as well.
* src/xselect.c (Fx_get_atom_name): Clean up code and fix
uninitialized use of need_sync.
* src/xterm.c (x_dnd_send_unsupported_drop, x_dnd_send_drop)
(handle_one_xevent): Clean up usage of x_get_atom_name.
(x_get_atom_name): Accept NULL for need_sync.

* src/xterm.h: Update declarations.
src/frame.c
src/xselect.c
src/xterm.c
src/xterm.h