[PATCH weston 1/2] data-device: add a function to send the selection to a client

Daniel Stone daniel at fooishbar.org
Fri May 1 05:04:12 PDT 2015


Hi,

On 1 May 2015 at 10:59, Giulio Camuffo <giuliocamuffo at gmail.com> wrote:
> This commit adds a new exported function, weston_seat_send_selection(),
> which sends the current selection to a specified client. This is
> useful e.g. to implement a clipboard manager as a special client.

There is one behaviour change here, where we now advertise a NULL
selection to the client gaining keyboard focus if no source is
available, whereas we would previously have sent nothing. But I think
that's desirable, so for these two and the other clipboard fix, R-b
and pushed:
   4c93c08..d46bb01  master -> master

Thanks for taking a look at this stuff - it's been pretty sadly
neglected for a while.

Cheers,
Daniel


More information about the wayland-devel mailing list