]> git.eshelyaron.com Git - emacs.git/commit
Fix junk data being returned with incremental selection transfers
authorPo Lu <luangruo@yahoo.com>
Tue, 30 Aug 2022 11:27:39 +0000 (19:27 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 30 Aug 2022 11:28:03 +0000 (19:28 +0800)
commit0bf5463f8147ea9143d286d5a9df7c8421a1ac4b
treed7d01c0aee60bcf6963d25f48ee5fe3e013d2d91
parentdb6e574567350f8cf2eec698ea82e62dcd9d27a6
Fix junk data being returned with incremental selection transfers

* src/xselect.c (receive_incremental_selection): New arg
REAL_BYTES_RET.  Set it to the actual size instead of using the
size of the array after it was grown by xpalloc.
(x_get_window_property_as_lisp_data): Adjust call to
receive_incremental_selection.
src/xselect.c