Fix mishandling of dnd-scroll-margin with scroll bar motion
* lisp/dnd.el (dnd-handle-movement): Ignore posns inside scroll bars for now.
This commit is contained in:
parent
99cb3a7154
commit
18a1c7de2e
1 changed files with 3 additions and 1 deletions
|
|
@ -112,7 +112,9 @@ program."
|
|||
"Handle mouse movement to POSN when receiving a drop from another program."
|
||||
(when (windowp (posn-window posn))
|
||||
(with-selected-window (posn-window posn)
|
||||
(when dnd-scroll-margin
|
||||
(when (and dnd-scroll-margin
|
||||
;; TODO: handle scroll bars reasonably.
|
||||
(not (posn-area posn)))
|
||||
(ignore-errors
|
||||
(let* ((row (cdr (posn-col-row posn)))
|
||||
(window (when (windowp (posn-window posn))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue