[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse position bug and half a fix
From: |
Chong Yidong |
Subject: |
Re: mouse position bug and half a fix |
Date: |
Sun, 25 Jan 2009 12:02:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
David Reitter <address@hidden> writes:
> The problem is that (posn-point (event-start start-event)) in mouse-
> drag-region does not give us the correct location; in fact, the xy
> coordinates in the event are wrong.
>
> My guess is that whatever algorithm determines the character position
> under the mouse cursor forgets to switch to the appropriate window
> buffer before looking up the faces when iterating over the window
> contents.
I've checked in a fix. Thanks.