Carlos Garnacho 02947e7872 core: Cater for reading selection in chunks
For the cases where we read a fixed size from the selection (eg. imposing
limits for the clipboard manager), g_input_stream_read_bytes_async() might
not read up to this given size if the other side is spoonfeeding it content.

Cater for multiple read/write cycles here, until (maximum) transfer size is
reached.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1198

(cherry picked from commit 4bdf9a1e70e8aef0066fb3af72ad580069b02fa1)
2020-04-19 21:59:27 +02:00
..
2019-07-18 11:01:09 +02:00
2018-07-24 13:16:36 +00:00