Re: Drag and drop



On Fri, 2003-06-13 at 12:08, Rob Adams wrote:

> As for the WM-initiated part: It's certainly true that the other
> protocols are all WM-initiated.  My previous proposal was for a
> wM-initiated protocol, but that added extra complications, like the need
> to include a coordinate pair in the message, which would require the
> toolkit to create a special pathway for computing how to respond to the
> message.  This way, the client, which already has to respond to
> ButtonPress, and almost certainly also has to prepare to handle the
> start of a drag and drop as well, the burden on the client for this
> method is far smaller (My guess is that for most toolkits and
> applications, it's just adding a few lines of code).

Also, note that making it window manager activated will mean that the
wrong client gets the implicit grab on button press. I don't think
there is any actual problem with using the WM_PROTOCOLS field to 
indicate a protocol that isn't a messages sent by the window manager
to the client.

Regards,
					Owen






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