diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-12-27 13:50:04 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-12-27 13:50:04 -0500 |
commit | e7aaec301a703226f4c4a1d6713b55f78c852bb8 (patch) | |
tree | c46bf74c155f72fd17bacb328c8d7f81a22e1680 /clients/window.c | |
parent | 09e2692403680b5c9c39c6723788f87e2dcdd4ca (diff) | |
download | weston-e7aaec301a703226f4c4a1d6713b55f78c852bb8.tar.gz |
x11: Bridge X11 CLIPBOARD selection to Wayland clients
Diffstat (limited to 'clients/window.c')
-rw-r--r-- | clients/window.c | 9 |
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) { |