[PATCH] selection: send selection events to all connected clients

Bengt Richter bokr at oz.net
Wed Apr 17 17:59:38 PDT 2013


On 04/15/2013 09:39 PM Bill Spitzak wrote:
> Pekka Paalanen wrote:
>
>> Alright. I'm not too familiar with toolkits, so could you explain why
>> toolkits need to access the selection at arbitrary times (specifically
>> while unfocused), instead of only as a response to direct user input
>> (which in all relevant cases assigns the focus first)?
>
> I sure hope you don't mean keyboard focus, right?
>
> There must be the ability to cause a paste by using a pointing device
> without moving the keyboard focus. An obvious reason is for drag&  drop,
>    but is also often used for middle-mouse paste in a point-to-type
> environment, and likely wanted if there are alternative input devices.
>
> However requiring that the pointing device be above one of the client
> surfaces and an actual click-like event (rather than a move) is probably
> ok. I believe this is what you mean by "assign focus", right?

Don't forget keyboard-only operation if you want to go whole hog ;-)

	http://www-03.ibm.com/able/guidelines/software/swkbdequiv.html



More information about the wayland-devel mailing list