mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 04:47:34 +00:00
Preserve contents of PRIMARY when sending unsupported drop
* src/xterm.c (x_dnd_send_unsupported_drop): Set local value of PRIMARY to the preexisting selection value, if any.
This commit is contained in:
parent
8ef37913d3
commit
bda8f5deec
1 changed files with 4 additions and 1 deletions
|
|
@ -2824,7 +2824,10 @@ x_dnd_send_unsupported_drop (struct x_display_info *dpyinfo, Window target_windo
|
|||
root_y = dest_y;
|
||||
}
|
||||
|
||||
x_own_selection (QPRIMARY, Qnil, frame);
|
||||
x_own_selection (QPRIMARY,
|
||||
assq_no_quit (QPRIMARY,
|
||||
dpyinfo->terminal->Vselection_alist),
|
||||
frame);
|
||||
|
||||
event.xbutton.window = child;
|
||||
event.xbutton.x = dest_x;
|
||||
|
|
|
|||
Loading…
Reference in a new issue