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

Yichao Yu yyc1992 at gmail.com
Sun Apr 14 17:22:51 PDT 2013


On Fri, Apr 12, 2013 at 4:22 PM, Jiergir Ogoerg <f35f22fan 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.
>
>> [1] http://userbase.kde.org/Klipper
>> [2] http://ipython.org/ipython-doc/dev/interactive/tutorial.html
>
> If I got you right, I wonder if it makes sense (performance wise or
> logically)

I don't think that's necessary because all toolkits will want to turn
that on by default for API consistency (Or it will not be possible to
get clipboard content at any time, non of them have this constraint
now).

>
> sending out these additional/global events only to clients interested in
> these
> global events.
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>


More information about the wayland-devel mailing list