help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selection threshold with mouse


From: Stefan Monnier
Subject: Re: Selection threshold with mouse
Date: Sun, 20 Jul 2014 11:37:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> That's the "silly iteration" I had in mind: the 2nd part of this is
> the tricky one, because all we know from posn-at-x-y and its ilk is
> the pixel width of the object at the coordinates we pass to the
> function; we don't know the coordinates where the object starts.

Hmm... but don't the display matrices contain the needed info (i.e. the
"left-pixel boundary position"), since it's needed to react to an
expose event?

> Actually, I disagree: every other GUI app I could try behaves like the
> OP asked by default, so I see no reason for Emacs to offer an option
> here.

They do, but not for all operations.  E.g. if you click on the rightmost
pixel of a hyperlink, your browser will happily consider that the click
was on the hyperlink, not on the position right after that one.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]