We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 141f256 commit 00e1415Copy full SHA for 00e1415
src/flutter-pi.c
@@ -1519,11 +1519,11 @@ void *io_loop(void *userdata) {
1519
1520
for (int i = 0; i < n_input_devices; i++) {
1521
FD_SET(input_devices[i].fd, &fds);
1522
- if (input_devices[i].fd +1 > nfds) nfds = input_devices[i].fd;
+ if (input_devices[i].fd + 1 > nfds) nfds = input_devices[i].fd + 1;
1523
}
1524
1525
FD_SET(drm.fd, &fds);
1526
- if (drm.fd +1 > nfds) nfds = drm.fd;
+ if (drm.fd + 1 > nfds) nfds = drm.fd + 1;
1527
1528
const fd_set const_fds = fds;
1529
0 commit comments