In 2005 Texas passed House Bill 94 which created an exception for unlawful entry of place of residence to a 1973 statute, which required a person to retreat in the face of a criminal attack unless a "reasonable person in the actor's situation would not have retreated".
In 2007 Texas Legislature passed Senate Bill 378 which extends a person’s right to stand their ground beyond the home to vehicles and workplaces, allowing the reasonable use of deadly force when an intruder is:
Committing certain violent crimes, such as murder or sexual assault, or is attempting to commit such crimes;
Unlawfully trying to enter a protected place; or Unlawfully trying to remove a person from a protected place.
Senate Bill 378, made effective September 1, 2007, also "abolishes the duty to retreat if the defendant can show he: (1) had a right to be present at the location where deadly force was used; (2) did not provoke the person against whom deadly force was used; and (3) was not engaged in criminal activity at the time deadly force was used."
------------
Looks like it's a very specific law and doesn't cover going to another persons house and causing trouble.