]> git.eshelyaron.com Git - emacs.git/commit
Handle scrolling during XDND drag-and-drop
authorPo Lu <luangruo@yahoo.com>
Sun, 17 Jul 2022 03:06:14 +0000 (11:06 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 17 Jul 2022 03:06:14 +0000 (11:06 +0800)
commite2ccd358c9d5fe5896bab31ed4c1d5b1ad8262ce
treecf8aa10988fc5fb7e52772226f1edff81dfa4cb2
parent211ca9f916a3fa8c0ad1dce1519462584bee4467
Handle scrolling during XDND drag-and-drop

* lisp/x-dnd.el (x-dnd-get-object-rectangle): Handle cases where
`posn-x-y' is nil.
(x-dnd-modifier-mask, x-dnd-hscroll-flags, x-dnd-note-click):
New functions.
(x-dnd-click-count): New defvar.
(x-dnd-handle-xdnd): Handle button press events.

* src/xterm.c (x_dnd_send_position): Fix handling of mouse
rects.
lisp/x-dnd.el
src/xterm.c