Asked the same question to an eye doctor. He said to look away for the screen periodically, at a different distance so your eyes must change focus. It is this focus change that keeps them exercised.
He said his patients with the healthiest, aged eyes are those who knit. They are constantly looking closely then away, closely then away, ad naseum.