Open data-niklas opened 2 years ago
Thanks for testing the code! (It worked on my machine in my limited tests, haha). I will try to reproduce the error and stabilize the PR.
I think that 'unregister' might be called before the ´Display´ and ´Window´ are initialized in the handle
method.
I added your test.
This PR allows canceling the XLib event loop by sending a custom ClientMessage on an invisible Window. See #15 For further XLib documentation refer to Tronche's documentation.