]> git.eshelyaron.com Git - emacs.git/commit
Fix specifying named action lists in `x-begin-drag'
authorPo Lu <luangruo@yahoo.com>
Sat, 18 Jun 2022 02:14:24 +0000 (10:14 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 18 Jun 2022 02:14:24 +0000 (10:14 +0800)
commit95370484d4750717ea32a94a3785be3cd18b9427
tree513ce3a9a56c30111e04f785c78e8841c4db46ca
parent0d103e6f79d374766b64e56fb05e440076f4df5c
Fix specifying named action lists in `x-begin-drag'

* src/xfns.c (Fx_begin_drag): Record original value of `targets'
separately.  Pass that as the selection targets list instead.

* src/xterm.c (x_dnd_delete_action_list): New function.
(x_dnd_begin_drag_and_drop): Bind it if there are multiple
actions.
src/xfns.c
src/xterm.c