diff options
author | Po Lu <luangruo@yahoo.com> | 2022-06-30 09:45:49 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-06-30 09:46:41 +0800 |
commit | e161b5fa3c8241a34961b378501247fb3978e6dc (patch) | |
tree | 43d3ca65518a6041a149622a104d0fc7a9b2beaf /lisp/emacs-lisp/lisp.el | |
parent | d7dc8c5fe4ac1735a7565473621d7504cc5ef089 (diff) | |
download | emacs-e161b5fa3c8241a34961b378501247fb3978e6dc.tar.gz emacs-e161b5fa3c8241a34961b378501247fb3978e6dc.tar.bz2 emacs-e161b5fa3c8241a34961b378501247fb3978e6dc.zip |
Fix preservation of the original value of PRIMARY after dropping on xterm
* src/xselect.c (x_own_selection): New arg `dnd_data'. Record
it.
(x_get_local_selection, x_handle_selection_request)
(x_convert_selection): Convert the DND data instead if the
situation warrants.
(Fx_own_selection_internal, Fx_get_selection_internal)
(Fx_get_local_selection): Update calls to x_get_local_selection.
* src/xterm.c (x_dnd_do_unsupported_drop): If obtaining
selection ownership failed, return. Record DND value and
preserve the current value of PRIMARY, if it exists.
* src/xterm.h: Update prototypes.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions