Date: Sat, 25 Jan 2025 21:15:32 -0800
From: Jared Finder <jared@finder.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
On 2025-01-25 09:13, Gerd Möllmann wrote:
> Jared Finder <jared@finder.org> writes:
>
>>> Sorry for that. Tried with the buttons in *Help*, and that works for
>>> me
>>> with xt-mouse.el. Can you please tell me what you did? Maybe I broke
>>> something special. Or maybe the change I did in xt-mpuse.el is a
>>> hint?
>>
>> xterm mouse is fine with clickable text. The issue is only with gpm
>> mouse. I'm guessing some change in xt-mouse.el didn't properly get
>> mirrored over to handle_one_term_event in term.c.
>
> Okay, thanks!
Adding event.x = gpm_x; event.y = gpm_y after the call to tty_frame_at
fixes this.