From: Po Lu <luangruo@yahoo.com>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: TTY child frames and mouse_position_hook
Date: Fri, 20 Dec 2024 13:02:49 +0800 [thread overview]
Message-ID: <87v7vfosjq.fsf@yahoo.com> (raw)
In-Reply-To: <m2v7vf3qur.fsf@gmail.com> ("Gerd Möllmann"'s message of "Fri, 20 Dec 2024 05:45:00 +0100")
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> Po Lu <luangruo@yahoo.com> writes:
>
>> Where does the tty child frame implementation account for the absolute
>> positions of child frames when processing mouse input, as from
>> xterm-mouse-mode? Needless to say, mouse input is not properly
>> translated on MS-DOS, and I would prefer to reuse code that already
>> exists, provided that I can locate it.
>>
>> Thanks in advance.
>
> I think this is best seen in the following commits to xt-mouse.el.
>
> e2323775246 | * Fix mouse-position for xterm-mouse-mode
> 414de92a562 | * Initial child frames based on master
>
> In short, it's
>
> - Determine frame under (X, y) from by the terminal
> - Give Emacs (frame, x', y') where x' and y' are relative to the frame
>
>
Oh, I see. Thank you!
prev parent reply other threads:[~2024-12-20 5:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <874j2zqhut.fsf.ref@yahoo.com>
2024-12-20 1:10 ` TTY child frames and mouse_position_hook Po Lu
2024-12-20 4:45 ` Gerd Möllmann
2024-12-20 5:02 ` Po Lu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v7vfosjq.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=emacs-devel@gnu.org \
--cc=gerd.moellmann@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.