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

Bill Spitzak spitzak at gmail.com
Sun Apr 14 18:38:13 PDT 2013


On 04/14/2013 06:33 PM, Matthias Clasen wrote:
> On Fri, Apr 12, 2013 at 1:33 PM, Yichao Yu <yyc1992 at gmail.com> wrote:
>> A lot of useful features require clipboard access and monitoring
>> without having a keyboard focus, e.g. clipboard action (klipper[1] and
>> some download agents), command line access (IPython's %paste magic).
>> This patch sends out selection events to all clients when the
>> selection owner changes no matter whether the client has a focus or
>> not in order to support these features.
>
> Clipboard managers are pretty specialized clients, and you usually
> only run at most one of them in your session - why confuse all other
> clients with the extra events ?

Especially because it sounds like it will be sent to minimized or 
otherwise-hidden clients.

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.




More information about the wayland-devel mailing list