all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: [Chong Yidong] Re: Tool-bar buttons unresponsive with tooltips on
Date: Mon, 17 Oct 2005 10:42:11 +0200	[thread overview]
Message-ID: <m31x2k4jrw.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <ubr1ofvc4.fsf@jasonrumney.net> (Jason Rumney's message of "Mon, 17 Oct 2005 08:36:59 +0100")

Jason Rumney <jasonr@gnu.org> writes:

> storm@cua.dk (Kim F. Storm) writes:
>
>> Jason,
>>
>> Can you explain why you added that specific line.
>>
>> I can see that it looks like a reasonable thing to do,
>> but Chong has problems with it (I don't).
>>
>> What problem was it supposed to fix?
>
> Mouse movement is not correctly tracked without it unless track-mouse
> is used from lisp (the C code uses last_mouse_glyph for other reasons).

IIUC, the problem was this:

note_mouse_movement is used to handle mouse movement event when
track-mouse is not active, but last_mouse_glyph is only updated when
track-mouse is active.

So it was wrong (or at least stupid) for note_mouse_movement to test
on last_mouse_glyph which would have an arbitrary value based on where
you clicked/dragged the mouse the last time.

Chong, perhaps you can try to understand why you have problems with
mouse clicks due to this change.  I don't have the reported problem,
so I cannot debug it.

Do you have some hacks in mouse.el which may cause problems?


-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2005-10-17  8:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-16 22:59 [Chong Yidong] Re: Tool-bar buttons unresponsive with tooltips on Kim F. Storm
2005-10-17  7:36 ` Jason Rumney
2005-10-17  8:42   ` Kim F. Storm [this message]
2005-10-17 13:19     ` Chong Yidong
2005-10-17 13:28       ` Kim F. Storm
2005-10-17 13:37         ` Jason Rumney
2005-10-18  1:12           ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2005-10-17 14:19 David PONCE
2005-10-17 16:43 Chong Yidong
2005-10-19  8:39 David PONCE
2005-10-19 17:31 ` Jan D.
2005-10-19 17:57   ` Jan D.

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=m31x2k4jrw.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --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 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.