lonkaars / liehjuck

Simple software rasterizer (school project)
3 stars 0 forks source link

Create a thread for listening to X11 events #32

Closed lonkaars closed 4 years ago

lonkaars commented 4 years ago

Since XNextEvent halts until there's a new event, it should be put on another thread. Key repeats should also be turned off when there's more than 0 keys being pressed, and turned back on after all keys are released as not to interfere with regular desktop usage.

lonkaars commented 4 years ago

bf7e826a54d93844fa9c9257214e3f3e4765b9d6