]> git.eshelyaron.com Git - emacs.git/commit
Improve protection against faulty clients during DND
authorPo Lu <luangruo@yahoo.com>
Sat, 19 Mar 2022 10:46:50 +0000 (18:46 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 19 Mar 2022 10:47:44 +0000 (18:47 +0800)
commitc79e0188e849715a7c4dc306c93ad8d0b3517d32
treeb5c90e92cc283182f737b63792cd4dd07d289366
parent2f1fbf20ad957331b34bb3914e06185b3b34a1a1
Improve protection against faulty clients during DND

* src/xterm.c (x_dnd_send_enter, x_dnd_send_position)
(xdnd_send_leave, x_dnd_send_drop): Catch errors around call to
XSendEvent.  The target window could be gone.
src/xterm.c