Fix some issues with clicking touch buttons using the mouse after the hover change.

Increase a buffer size.
This commit is contained in:
Henrik Rydgård committed 2024-11-22 10:31:10 +01:00
1 parent 305453b52d
commit 107bd01536
2 files changed
+14 -10

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ bool Buffer::ReadAllWithProgress(int fd, int knownSize, RequestProgress *progres
}
int Buffer::Read(int fd, size_t sz) {
char buf[1024];
char buf[4096];
int retval;
size_t received = 0;
while ((retval = recv(fd, buf, std::min(sz, sizeof(buf)), MSG_NOSIGNAL)) > 0) {