all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Subject: Re: [drew.adams@oracle.com: RE: moving overlay loses its priority?]
Date: Sun, 20 Aug 2006 14:04:04 -0400	[thread overview]
Message-ID: <E1GEreW-0005gF-00@furball.mit.edu> (raw)
In-Reply-To: <87ac5zicmc.fsf@furball.mit.edu> (message from Chong Yidong on Sun, 20 Aug 2006 12:40:59 -0400)

> 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.

  reply	other threads:[~2006-08-20 18:04 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 [this message]
2006-08-20 21:05     ` Kim F. Storm
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1GEreW-0005gF-00@furball.mit.edu \
    --to=cyd@stupidchicken.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.