Wasn’t Smith & Wesson sued by Glock for the M&P for copyright or trademark infringement? I think originally they were design identical. and I believe, that Smith & Wesson now pays Glock royalties for each sale. I don’t think there was a settlement I think the agreement was royalties and some back payment. So Glock by proxy license Smith & Wesson to produce Glocks design with Smith & Wesson stamp
S&W was sued, and settled out of court confidentially. The next generation of S&W guns changed their design enough to avoid patent issues.
CC