added XGetClassHint