Santa Fe bought stainless steel Pullman Standard divided chair cars in 1948 for the Texas Chief. The divider was a curtain instead of a bulkhead, so, after segregation ended, it was easy to convert them for use by all passengers.
Santa Fe was caught and fined in the 1960's for less obvious segregation. The El Capitan, Chief, San Francisco Chief (which did not run in southern states) had reserved seats, and Santa Fe's reservation bureau had a code so that a white passenger would not be seated next to a non-white passenger. It stopped after the citation and fine.
As others have pointed out, it was unfair, it was stopped, and now nobody gives a second thought to sharing seating with another passenger of any race.