Its a sliding door stop thing on the patio door. The monkey metal has worn and the stop pin keeps falling out. Ive googled patio door sliding stop without success
Upon further investigation the monkey metal bit has a hairpin spring inside, presumably so you can pull the arm out and open the doors wide. It was fatigued so Ive tightened it up a bit for now till I get a new one