#3 add XSetICFocus and XUnsetICFocus