emacs-devel
[Top][All Lists]
Advanced

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

Re: Drag and drop patch for X, please review.


From: Stefan Monnier
Subject: Re: Drag and drop patch for X, please review.
Date: 20 Jan 2004 18:38:39 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> It is not a strict requirement.  There can be multiple pointer devices.
> In some accessibility functions you can simulate the mouse actions
> with arrow keys.

But if the source grabs the mouse, it is grabbed for all mice as well as for
those special arrow keys: i.e. there's still really only one pointer device
(which is a logical entity), just controlled from a bunch of different
hardware pieces (the mice and the keys).

>From the users point of view, there are several input devices that control
the cursor, but from the X clients, there's just only only cursor and they
don't care how the X server handles the hardware input devices to allow the
user to control the one and only cursor.

But it's still completely irrelevant to this discussion.

> The icon I am talking about is the one the user drags, i.e. it is
> where the pointer is.

Duh!  I finally understand, thank you.

> Then we are back to saying accept and then later perhaps signal
> an error.  I do not like that.  If we know we are going to raise an
> error, we should not accept the drop in the first place.

Well, we should still send a `reject' in the case where we know it will be
rejected (i.e. when there's no binding in the keymap), but if there's
a binding it's OK to say `accept' and later on signal an error.


        Stefan




reply via email to

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