Her eyes 'strayed from' her computer to the window. [=she stopped looking at her computer and began looking at/out the window]
She never 'strayed' [='deviated'] 'from' the path her parents envisioned for her.
The class discussion 'strayed' [='deviated'] 'from' the original topic.