]> git.eshelyaron.com Git - emacs.git/commit
Decrease network traffic with some XDND programs
authorPo Lu <luangruo@yahoo.com>
Sat, 16 Jul 2022 10:55:49 +0000 (18:55 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 16 Jul 2022 10:56:30 +0000 (18:56 +0800)
commitaf61bc7d0cc2978066cff88fd316bf999758d50a
tree7b6f381c80476fc210f93ddfba0b558cd7a764a6
parent49e41991b2fdd0ef9358631c00ec8d0daec3f91c
Decrease network traffic with some XDND programs

* lisp/x-dnd.el (x-dnd-get-drop-width-height):
(x-dnd-get-drop-x-y): Remove functions.

(x-dnd-get-window-rectangle, x-dnd-intersect-rectangles)
(x-dnd-get-object-rectangle, x-dnd-get-drop-rectangle): New
functions.
(x-dnd-handle-xdnd): Generate mouse rectangles consisting of the
object (glyph) under point.
lisp/x-dnd.el