For the best seal my recommendation would be some pieces of weatherstripping or gasket.
How to fix a gap in a sliding glass door.
You may be able to square just the.
Remove the door from the track.
How to fix the gap on your patio door duration.
You may like my other videos.
This will retract the rollers and make the door flush with the track.
The door opening in the framing is not square.
Gap between sliding doors doors cannot close properly.
First locate the roller adjustment screws and use a screwdriver to turn the screws counterclockwise.
In the picture you show you could place one piece vertically on the wall side of the door on the end the picture was taken.
Push in the weatherstripping until secure.
This video shows you how to take apart sliding glass doors.
Just type lsailor1 in the youtube search bar.
The proper way to fix it would be to remove the door and door frame and square up the opening in the house framing.
Pry out the old weatherstripping from inside the door frame using a flat head screwdriver.
Sliding glass door adjustments.
Then remove the door stop at the top of the frame which should be as simple as unscrewing it.