From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 2f31dbeadf: Also show mouse DND tooltip contents during interprogram drag-and-drop
Date: Thu, 09 Jun 2022 18:07:18 +0800 [thread overview]
Message-ID: <87y1y6noa1.fsf@yahoo.com> (raw)
In-Reply-To: <835yla42le.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 09 Jun 2022 12:18:21 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> That's very unfortunate, because the current implementation is not
> clean enough, IMO. I cannot convince myself that we will never use
> stale DX/DY values; can you?
I'm convinced: the DX and DY are always valid when `tip_frame' is a live
frame, and we don't use them otherwise.
> Plus, using static variables means only one such instance can ever be
> supported -- another restriction we'd be better without.
We already cannot refer to tip frames, and the toolkits we use currently
only support displaying a single system tooltip at the same time.
So there will be significantly more work involved in supporting multiple
tooltips than eliminating a few of the static tooltip state variables,
of which there are already a few anyway: tip_frame, tip_window,
tip_timer, tip_last_string, tip_last_frame and tip_last_parms.
prev parent reply other threads:[~2022-06-09 10:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-09 7:03 master 2f31dbeadf: Also show mouse DND tooltip contents during interprogram drag-and-drop Eli Zaretskii
2022-06-09 7:50 ` Po Lu
2022-06-09 9:18 ` Eli Zaretskii
2022-06-09 10:07 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1y6noa1.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).