X11: Fix event polling when event fd > 1023

This replaces select with poll for checking for data on event file
descriptors, as select cannot handle file descriptors larger than 1023.

Closes #2024

(cherry picked from commit d3e4fcf8b7)
This commit is contained in:
Camilla Löwy
2022-02-01 22:05:55 +01:00
parent 54f2a865e9
commit ca1a98e7a2
3 changed files with 15 additions and 18 deletions
+1
View File
@@ -81,6 +81,7 @@ video tutorials.
- Paul Holden
- Warren Hu
- Charles Huber
- illustris
- InKryption
- IntellectualKitty
- Aaron Jacobs