Alex Smith threw a 12-yard touchdown pass to Delanie Walker late in the third quarter and San Francisco held off the Seattle Seahawks 13-6 on Thursday night as the 49ers won their long-awaited division opener.