Fixes "XDestroyWindowEvent does not provide enough names" error