Goal: To secure a patch placed on denim for sewing.

Which of the following methods is more reasonable for accomplishing this goal?
Use a glue stick along the back of the patch to prevent it from moving during sewing.