emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error during ask-user-about-lock


From: Jan Djärv
Subject: Re: Error during ask-user-about-lock
Date: Fri, 11 Aug 2006 08:19:50 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060808)



Richard Stallman skrev:
    I was afraid your question was going to be "WHY does Emacs get a drag'n'drop
    event?", because I don't know the answer (and it doesn't make much sense to
    me).

It is an interesting question, because if you didn't try to do a
drag'n'drop, the event could reflect a bug.

But you COULD have done a real drag'n'drop, and generated a legitimate
drag-and-drop event.  So the question of how to handle one still
exists.

I will install my patch if no one objects in the next few days.

I think the problem is elsewhere.

The dnd code has a flaw in it, it generates dnd-events (lisp events) for wrong ClientMessages (X events), in this case a _MOTIF_WM_MESSAGES ClientMessage.

These non-real dnd events gets filtered out in x-dnd-handle-drag-n-drop-event (x-dnd.el) so they have no impact normally. I didn't realize they could interfere in other ways. I'll rework the generation of dnd lisp events so they are generated for genuine X dnd events only.

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]