emacs-devel
[Top][All Lists]
Advanced

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

Re: "Final" version of tty child frames


From: Jared Finder
Subject: Re: "Final" version of tty child frames
Date: Sat, 04 Jan 2025 14:12:00 -0800

On 2024-12-17 22:25, Gerd Möllmann wrote:

WRT GPM: Sounds to me like this is because GPM hasn't been changes to
act analogous to xt-mouse. I think there only two commits to xt-mouse.el
in the branch. It's not much, if you look at the diffs, basically only

  - determine the frame F under (x, y) as reported by the terminal

  - Give Emacs (F, x', y'), where x' and y' are the coordinates
    relative to F

That was all I needed, in principle, at least for xterm-mouse, to make
things work. Don't know if that also fits for GPm.

It was that easy to do. Attached is a patch that adds support for TTY child frames to a GPM mouse.

  -- MJF

Attachment: 0001-Support-TTY-child-frames-with-GPM-mouse.patch
Description: Text Data


reply via email to

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