Add hmode to xrmoptions.