commit | e7aaec301a703226f4c4a1d6713b55f78c852bb8 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Tue Dec 27 13:50:04 2011 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Dec 27 13:50:04 2011 -0500 |
tree | c46bf74c155f72fd17bacb328c8d7f81a22e1680 | |
parent | 09e2692403680b5c9c39c6723788f87e2dcdd4ca [diff] [blame] |
x11: Bridge X11 CLIPBOARD selection to Wayland clients
diff --git a/clients/window.c b/clients/window.c index 5931f7b..b031daa 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -1748,6 +1748,15 @@ 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) {