Instead of gluing, identify why the window is loose in the first place. Common reasons include:
* Loose screws: Check all screws holding the window frame to the track. Tighten or replace any loose or stripped screws.
* Worn-out tracks: The track itself might be damaged or worn, preventing the window from sitting correctly. You may need to replace the track or repair damaged sections.
* Broken or damaged window frame: The window frame itself might be damaged, preventing proper seating in the track. This will require repair or replacement of the frame.
* Improper installation: The window might have been improperly installed in the first place.
What you should do:
1. Determine the cause: Carefully inspect the window and its track to identify what's causing the problem.
2. Repair or replace: Address the underlying issue. Tighten screws, repair or replace the track, or repair/replace the frame as needed. This may require some carpentry or window repair skills.
3. Seek professional help: If you're unsure about any of the repair steps, or if the damage is extensive, it's best to call a qualified window repair professional. Improper repair can lead to further damage and even safety hazards.
Using glue is a temporary and unreliable fix that could ultimately cost you more in the long run. Focus on addressing the root cause of the problem for a lasting solution.