XCheckWindow 100% CPU replaced for XNexEvent