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

Yichao Yu yyc1992 at gmail.com
Sun Apr 14 18:45:37 PDT 2013


On Sun, Apr 14, 2013 at 9:33 PM, Matthias Clasen
<matthias.clasen at gmail.com> 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 ?

Actually all client may want to know the clipboard content even when
it doesn't have focus. And clipboard monitoring doesn't means
clipboard manager. It is also used by many download agents as what I
have said.


More information about the wayland-devel mailing list