summaryrefslogtreecommitdiff
path: root/clients/window.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-12-27 13:50:04 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-12-27 13:50:04 -0500
commite7aaec301a703226f4c4a1d6713b55f78c852bb8 (patch)
treec46bf74c155f72fd17bacb328c8d7f81a22e1680 /clients/window.c
parent09e2692403680b5c9c39c6723788f87e2dcdd4ca (diff)
downloadweston-e7aaec301a703226f4c4a1d6713b55f78c852bb8.tar.gz
x11: Bridge X11 CLIPBOARD selection to Wayland clients
Diffstat (limited to 'clients/window.c')
-rw-r--r--clients/window.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/clients/window.c b/clients/window.c
index 5931f7b9..b031daad 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1748,6 +1748,15 @@ input_receive_selection_data(struct input *input, const char *mime_type,
return 0;
}
+int
+input_receive_selection_data_to_fd(struct input *input,
+ const char *mime_type, int fd)
+{
+ wl_data_offer_receive(input->selection_offer->offer, mime_type, fd);
+
+ return 0;
+}
+
void
window_move(struct window *window, struct input *input, uint32_t time)
{