Avoid failing when XSetInputFocus fails.
Drop redundant input code in GLX.