wayland_common: read DND data in larger chunks

This commit is contained in:
sfan5
2024-02-29 17:24:05 +01:00
parent 98f7f9e25e
commit dec29e82ac
+1 -1
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),
};