Sleeping in the x11 event loop is not ideal as it will introduce latency when processing other events, instead do this in the waitFrame handler.
Sleeping in the x11 event loop is not ideal as it will introduce latency when processing other events, instead do this in the waitFrame handler.