commit | 0749e3f470a9d1cb7ec78c199962b84dce72e1f9 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Sep 04 20:41:06 2013 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Sep 04 20:41:06 2013 -0700 |
tree | a3c5e82c4bf423ab9be9bef64768e2a12a961a27 | |
parent | 938f102a970ac318cc5d1414321a6de90f0a733d [diff] [blame] |
terminal: Accept utf-8 text drop
diff --git a/clients/window.c b/clients/window.c index c1fc3e7..6854745 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -3797,6 +3797,16 @@ } int +input_receive_drag_data_to_fd(struct input *input, + const char *mime_type, int fd) +{ + if (input->drag_offer) + wl_data_offer_receive(input->drag_offer->offer, mime_type, fd); + + return 0; +} + +int input_receive_selection_data(struct input *input, const char *mime_type, data_func_t func, void *data) {