Roseanne Barr wants to strip her ex-husband of custody of their son ... and she let everyone know it today in open court.
Roseanne and her ex, Ben Thomas, are in the middle of a trial to determine if Roseanne has to foot the bill for Ben's trips to Hawaii to visit their son, Buck. Roseanne lives in Hawaii and Buck attends school there.
During the trial today in L.A.County Superior Court ... Roseanne's legal team said they are in the process of filing for "sole legal and physical custody" of Buck.
Her attorneys expect to complete the process once the judge rules in the current trial.
Outside court, we asked how it went -- and Roseanne simply put her hands together to pray.