+2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
+ computing growth when dragging the header line.
+
2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
* simple.el (kill-line): Doc fix.
(when (< (- y top -1) window-min-height)
(setq y (+ top window-min-height -1)))
(setq growth (- y bot -1)))
- (t
- (when (< (- bot y -1) window-min-height)
- (setq y (- bot window-min-height -1)))
- (setq growth (- top y -1))))
+ (t ; header line
+ (when (< (- bot y) window-min-height)
+ (setq y (- bot window-min-height)))
+ ;; The window's top includes the header line!
+ (setq growth (- top y))))
(setq wconfig (current-window-configuration))
;; Check for an error case.