]> git.eshelyaron.com Git - emacs.git/commit
Reduce duplicate code cleaning up DND processes
authorPo Lu <luangruo@yahoo.com>
Wed, 6 Jul 2022 02:42:12 +0000 (10:42 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 6 Jul 2022 02:42:12 +0000 (10:42 +0800)
commite482379a65e99cb61aba86876587b499eeeef007
tree698e03aa0830e0a74279f6f66abd5f0e89081897
parentcd18cee96ee17562a276ea84bc9313e5bcbccb55
Reduce duplicate code cleaning up DND processes

* src/xterm.c (x_restore_events_after_dnd): New function.
(x_dnd_cleanup_drag_and_drop, x_dnd_begin_drag_and_drop): Use
that instead of manually cleaning up properties and events.
src/xterm.c