]> git.eshelyaron.com Git - emacs.git/commit
Fix handling hscroll during drag-and-drop
authorPo Lu <luangruo@yahoo.com>
Fri, 22 Jul 2022 07:37:28 +0000 (15:37 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 22 Jul 2022 07:37:28 +0000 (15:37 +0800)
commitf173028d156ae7edf08d15e1dbd36037e35068bc
tree6cd170b5670aa8adbb2bb9ed41f34b21fecadf96
parent83c2c36d35f55d012e5dcb2cc566697b225dcf86
Fix handling hscroll during drag-and-drop

* lisp/x-dnd.el (x-dnd-hscroll-flags): Delete function.
(x-dnd-get-modifiers, x-dnd-wheel-modifier-type): New functions.
(x-dnd-mwheel-scroll): Use that to determine hscroll instead.
* src/window.c (set_window_hscroll): Mark window as needing
redisplay if the hscroll really changed.
lisp/x-dnd.el
src/window.c