Green’s Dictionary of Slang

leggins n.

(US gay/prison) copulation when the penis is rubbed between the legs of the sexual partner.

[US]D. Clemmer Prison Community (1940) 333/2: leggins, n. A simulation of coitus between two males.
[US]B. Rodgers Queens’ Vernacular.