wayland_common: read DND data in larger chunks

This commit is contained in:
sfan5 2024-02-28 16:56:46 +01:00
parent 98f7f9e25e
commit dec29e82ac
1 changed files with 1 additions and 1 deletions

View File

@ -1569,7 +1569,7 @@ static void check_dnd_fd(struct vo_wayland_state *wl)
if (fdp.revents & POLLIN) {
size_t data_read = 0;
const size_t chunk_size = 1;
const size_t chunk_size = 256;
bstr file_list = {
.start = talloc_zero_size(NULL, chunk_size),
};