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

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

bug#28658: 27.0.50; [PATCH] double/triple clicking in xterm-mouse-mode d


From: Eli Zaretskii
Subject: bug#28658: 27.0.50; [PATCH] double/triple clicking in xterm-mouse-mode doesn't respect mouse position
Date: Sun, 08 Oct 2017 10:42:20 +0300

> From: Alex <agrambot@gmail.com>
> Cc: 28658@debbugs.gnu.org
> Date: Sat, 07 Oct 2017 15:57:04 -0600
> 
> > I don't know why the units are 1/8th of a character, perhaps so that a
> > user could set the same value for both GUI and TTY frames.  In any
> > case, dividing the value of double-click-fuzz by 8 before comparing
> > with coordinate differences is easy enough, no?
> 
> Yes, I was just confused about the units, but that makes sense. Though
> in my GTK Emacs, (frame-char-width) returns 9 instead of 8 for me...

Yes, the 8 thing cannot be anything but an approximation.

> Anyway, here's the patch:

LGTM, thanks.  Please mention the bug number in the log message when
you push (to the emacs-26 branch).





reply via email to

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