On 15 April 2013 02:33, Matthias Clasen <matthias.cla...@gmail.com> wrote: > On Fri, Apr 12, 2013 at 1:33 PM, Yichao Yu <yyc1...@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.
Hi Yichao - thank you for trying to solve this problem and for sending patches. The problem you are attempting to solve is indeed a valuable one - however it needs to be solved in line with the Wayland architecture. > > 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 ? Indeed - I think the correct solution here is a dedicated clipboard manager protocol between the compositor and the privileged clipboard manager client. This will allow solving the problem in line with the Wayland design. You could look at how the input method support is implemented as an example of such a protocol. Rob _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel