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

Bill Spitzak spitzak at gmail.com
Mon Apr 15 12:39:21 PDT 2013


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?


More information about the wayland-devel mailing list