# HG changeset patch # User Richard M. Stallman # Date 769640171 0 # Node ID cc55e77a981957ef40a5310727fda1a2b28d8904 # Parent 83dba60657ef09694e6d94bceff5e7b584082f27 (mouse-split-window-vertically): Treat scroll bar events just like others. diff -r 83dba60657ef -r cc55e77a9819 lisp/mouse.el --- a/lisp/mouse.el Sun May 22 20:55:15 1994 +0000 +++ b/lisp/mouse.el Sun May 22 20:56:11 1994 +0000 @@ -89,10 +89,7 @@ (mouse-minibuffer-check click) (let ((start (event-start click))) (select-window (posn-window start)) - (let ((new-height (if (eq (posn-point start) 'vertical-scroll-bar) - (scroll-bar-scale (posn-col-row start) - (1- (window-height))) - (1+ (cdr (posn-col-row (event-end click)))))) + (let ((new-height (1+ (cdr (posn-col-row (event-end click))))) (first-line window-min-height) (last-line (- (window-height) window-min-height))) (if (< last-line first-line)