# HG changeset patch # User Richard M. Stallman # Date 1139856438 0 # Node ID bb38a98ef7adbff1a153b549a2d6305657ee75e9 # Parent faf10626ffee49eacbc0a05eb3c99e3b270db2f9 (mouse-drag-mode-line-1): Use mouse-drag-move-window-bottom for the minibuffer too, but not if resize-mini-windows will interfere. diff -r faf10626ffee -r bb38a98ef7ad lisp/mouse.el --- a/lisp/mouse.el Mon Feb 13 18:45:39 2006 +0000 +++ b/lisp/mouse.el Mon Feb 13 18:47:18 2006 +0000 @@ -481,21 +481,8 @@ ;; grow/shrink minibuffer? (if should-enlarge-minibuffer - (progn - ;; yes. briefly select minibuffer so - ;; enlarge-window will affect the - ;; correct window. - (select-window minibuffer) - ;; scale back shrinkage if it would - ;; make the minibuffer less than 1 - ;; line tall. - (if (and (> growth 0) - (< (- (window-height minibuffer) - growth) - 1)) - (setq growth (1- (window-height minibuffer)))) - (enlarge-window (- growth)) - (select-window start-event-window)) + (unless resize-mini-windows + (mouse-drag-move-window-bottom start-event-window growth)) ;; no. grow/shrink the selected window ;(message "growth = %d" growth) (if mode-line-p