mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
Fix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)
* lisp/mouse.el (mouse-drag-line): With scroll bars on the left adjust trailing edge of window on the left when dragging the vertical divider of the mode line. (Bug#23690)
This commit is contained in:
parent
a5d05f4470
commit
0b33a23ffe
@ -406,7 +406,15 @@ must be one of the symbols `header', `mode', or `vertical'."
|
||||
(or (not resize-mini-windows)
|
||||
(eq minibuffer-window
|
||||
(active-minibuffer-window)))))))
|
||||
(setq draggable nil))))
|
||||
(setq draggable nil)))
|
||||
((eq line 'vertical)
|
||||
(let ((divider-width (frame-right-divider-width frame)))
|
||||
(when (and (or (not (numberp divider-width))
|
||||
(zerop divider-width))
|
||||
(eq (cdr (assq 'vertical-scroll-bars
|
||||
(frame-parameters frame)))
|
||||
'left))
|
||||
(setq window (window-in-direction 'left window t))))))
|
||||
|
||||
(let* ((exitfun nil)
|
||||
(move
|
||||
|
Loading…
Reference in New Issue
Block a user