diff options
author | Vladimir Panteleev <git@cy.md> | 2022-02-04 01:54:45 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-02-05 09:07:00 +0800 |
commit | de687e8983f57c975e902af6eb484d9115ca0733 (patch) | |
tree | 3d4b1300e738ae23517208ebe76cbb00286d044c /lisp/emacs-lisp/checkdoc.el | |
parent | d52c929e31f60ff0462371bfe27ebd479e3e82bd (diff) | |
download | emacs-de687e8983f57c975e902af6eb484d9115ca0733.tar.gz emacs-de687e8983f57c975e902af6eb484d9115ca0733.tar.bz2 emacs-de687e8983f57c975e902af6eb484d9115ca0733.zip |
Do not delete the MULTIPLE property after reading it
Per the ICCCM spec:
> The requestor should delete [...] the property specified in the
> MULTIPLE request when it has copied all the data.
We are not the requestor, so we should not be deleting this property
(which is what x_get_window_property_as_lisp_data does). The property
needs to remain available as the requestor will generally want to read
it back to see which conversions succeeded or not.
* src/xselect.c (x_get_window_property_as_lisp_data): Add flag which
skips deleting the read property, or handling INCR (which does not
make sense for MULTIPLE).
(x_handle_selection_request): Enable the flag.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
0 files changed, 0 insertions, 0 deletions