[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 22.1 spit window mouse resize
From: |
Bob Babcock |
Subject: |
Re: Emacs 22.1 spit window mouse resize |
Date: |
Sun, 17 Jun 2007 12:26:30 -0700 |
User-agent: |
Xnews/2006.08.24 |
martin rudalics <rudalics@gmx.at> wrote in
news:mailman.2286.1182087886.32220.bug-gnu-emacs@gnu.org:
> It selects the window above because in `mouse-drag-mode-line-1' the
> last event before leaving the `track-mouse' form is a drag-mouse-1
> event and it's unread by the code. Its subsequent execution causes,
> according to the binding
>
> (global-set-key [mode-line drag-mouse-1] 'mouse-select-window)
>
> the selection of the window above. Removing that binding still
> doesn't work because this would cause the alternate binding
>
> (global-set-key [mode-line mouse-1] 'mouse-select-window)
>
> to become effective. The attached patch should take care of this and
> the other problem. OK to install?
I find that either this latest patch or unbinding [mode-line drag-mouse-1]
works with Windows 2000. (I already have the part of the last patch around
line 501 that adds start-event-window. I'm starting with -q so my .emacs
doesn't get loaded, then loading the modified mouse.el.)
.