[diagnose] check _XKB_RULES_NAMES attribute on root window.