]> git.eshelyaron.com Git - emacs.git/commit
Fix minor bugs with XDND support
authorPo Lu <luangruo@yahoo.com>
Wed, 16 Mar 2022 09:03:19 +0000 (17:03 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 16 Mar 2022 09:03:19 +0000 (17:03 +0800)
commite8d7139b4e069f4641a7e11261541acb4c5fff7b
treed70f006c6e91a65071079f374e9634b43a08bd5a
parent1babe5fb2d7575fb15e515fffd3387d60a975553
Fix minor bugs with XDND support

* lisp/mouse.el (mouse-drag-and-drop-region): Report more
selection targets for the benefit of Qt and Mozilla.
* lisp/select.el (xselect--encode-string)
(selection-converter-alist): Add new selection targets.

* src/xterm.c (x_dnd_get_window_proxy): New function.
(x_dnd_get_target_window): New argument proto_out, and return
first window with XdndAware instead of bottommost window.
(handle_one_xevent): Use new argument `proto_out'.
lisp/mouse.el
lisp/select.el
src/xterm.c