]> git.eshelyaron.com Git - emacs.git/commit
Lower the roundtrip overhead of x-get-atom-name by 50% for common atoms
authorPo Lu <luangruo@yahoo.com>
Wed, 25 May 2022 12:29:38 +0000 (20:29 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 25 May 2022 12:29:47 +0000 (20:29 +0800)
commit9661c82920cf2b75300266bbd9da9e45b9471173
treeb11cd1caa073e5ff886170c41b85b1072642e17e
parentce79fe451d845c09e5502071f9af9845eb930885
Lower the roundtrip overhead of x-get-atom-name by 50% for common atoms

* src/xselect.c (Fx_get_atom_name):
* src/xterm.c (x_dnd_begin_drag_and_drop): Use that instead.  Don't
sync to handle errors if using `x_get_atom_name' resulted in no
protocol request being made.
(x_get_atom_name): New function.
* src/xterm.h: Update prototypes.
src/xselect.c
src/xterm.c
src/xterm.h