Manual trans on 1994 Mazda MX-3

Car needed new clutch. Got fixed but now it pops out of fifth gear. Mechanic who repaired now saying need whole new trans. Is there easier fix ?

Asked by for the 1994 Mazda MX-3
If this just started happening after the clutch job, I would check the shift linkage to make sure it is OK and not causing this problem.