]> git.eshelyaron.com Git - emacs.git/commit
X11 drag-and-drop corrections
authorPo Lu <luangruo@yahoo.com>
Wed, 12 Feb 2025 07:49:12 +0000 (15:49 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Feb 2025 10:53:00 +0000 (11:53 +0100)
commit4b98923c3e34469967a49aca8691a27a178f44de
tree314a800584bada10dbec62cf93ee1ff707789615
parentae367bb70e8074d822b3568e9b5c1ddd3399eb3a
X11 drag-and-drop corrections

* lisp/x-dnd.el (x-dnd-handle-drag-n-drop-event): Take cdddr of
client-message, skipping the selection information.
(x-dnd-do-direct-save): Do not erase the local copy of a remote
file if it was not in fact copied on behalf of the recipient.
(x-dnd-handle-xds-drop): Return proper action.

* src/xterm.c (x_term_init): Remove unused variable on non-GTK
builds.

(cherry picked from commit fa4260594fd2aae1c7d3e829b3cb15e344bc25ff)
lisp/x-dnd.el
src/xterm.c