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

Bill Spitzak spitzak at gmail.com
Mon Apr 15 11:50:20 PDT 2013


Yichao Yu wrote:

>> I think a request that says "send me the next change the the clipboard"
>> would work and match how Wayland is designed more than an api where the
>> client turns "send me clipboard changes" on/off.
> 
> Send next change will not work since it won't allow the client to know
> the content right now.

I forgot to mention that it would immediately respond if the clipboard 
has changed since the last time it responded.

You keep saying that without this a client can't see what is in the 
clipboard, but I'm reasonably certain a client at any time can query it, 
right? If not that should be added, but it is orthogonal to any 
clipboard-changed event.


More information about the wayland-devel mailing list