theres a clip which holds the window to the runner... could be fixable depending on how much the old owner has been pressing the window switch, most just put a small hole in the runner and add a split pin to stop it from coming out...
Hard to explain but youll see when you remove it
otherwise just replace the mechanism