In order for Texas to have jurisdiction, residency has to be established first. And even then, Texas still may not end up with jurisdiction.
And if she files in the original state before residency has been established or a court determines that he was court shopping (which is what you suggested), then the original state has jurisdiction.