emacs-devel
[Top][All Lists]
Advanced

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

Re: Please check if GPM works as expected


From: Jared Finder
Subject: Re: Please check if GPM works as expected
Date: Sun, 26 Jan 2025 14:56:30 -0800

On 2025-01-25 23:36, Eli Zaretskii wrote:
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.

Fix attached. I tested this locally and things are back to working with GPM.

  -- MJF

Attachment: 0001-Fix-clicking-in-child-frames-with-GPM.patch
Description: Text Data


reply via email to

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