From: storm@cua.dk (Kim F. Storm)
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [drew.adams@oracle.com: RE: moving overlay loses its priority?]
Date: Sun, 20 Aug 2006 23:05:48 +0200 [thread overview]
Message-ID: <m3k653jexf.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1GEreW-0005gF-00@furball.mit.edu> (Chong Yidong's message of "Sun, 20 Aug 2006 14:04:04 -0400")
Chong Yidong <cyd@stupidchicken.com> writes:
>> The basic problem (as noted by Kim Storm) is that inside a
>> `track-mouse' form, `read-event' is not returning mouse motion
>> events if there is a `help-echo' text property present (NOT
>> `mouse-face' as mistakenly stated in a previous thread).
>
> I found the problem. show_help_echo calls mouse-fixup-help-message,
> which calls mouse-pixel-position, which calls XTmouse_position, whose
> side-effect is to clear the mouse_moved flags of every frame. The
> documentation of XTmouse_position says that this is "so we can wait
> for the next mouse movement", but it causes a bug if we are in the
> middle of tracking the mouse.
>
> I've checked in a fix into show_help_echo. Now, when we are tracking
> the mouse, we save the mouse_moved flag and restore it after the call
> to mouse-fixup-help-message.
Great. Thanks for fixing this.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2006-08-20 21:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-14 19:21 [drew.adams@oracle.com: RE: moving overlay loses its priority?] Richard Stallman
2006-08-20 16:40 ` Chong Yidong
2006-08-20 18:04 ` Chong Yidong
2006-08-20 21:05 ` Kim F. Storm [this message]
2006-08-21 11:13 ` Richard Stallman
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=m3k653jexf.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
--cc=rms@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).