data-device: add a function to send the selection to a client
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Fri, 1 May 2015 09:59:35 +0000 (12:59 +0300)
committerDaniel Stone <daniels@collabora.com>
Fri, 1 May 2015 12:02:16 +0000 (13:02 +0100)
commitdddf9e67b732f6fcee2e42423838bd799b31e92e
tree60837c34cbe9f9fb01ca004c72435e63c0fcf7af
parent6a94a99f39a8920bf26c38d345c0887ae7144e7f
data-device: add a function to send the selection to a client

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.

Reviewed-by: Daniel Stone <daniels@collabora.com>
src/compositor.h
src/data-device.c