Here is the item again:
To enjoy the warm sunshine that he could see spilling through the blinds.
You correctly identified the fragment as an infinitive phrase. To enjoy, the infinitive that begins the phrase, is the clue.
To fix this fragment, you could add a subject and verb, like this:
Emmanuel wanted to enjoy
the warm sunshine that he could see spilling through the blinds.
Or you could use Punctuation Rule 5:
Main clause + Ø + infinitive phrase.
The correction would look like this:
Emmanuel wanted to escape the classroom
to enjoy the warm sunshine that he could see spilling
through the blinds.
Or you could use Punctuation Rule 6:
Infinitive phrase + , + main clause.
And the correction would look like this:
To enjoy the warm sunshine that he could see spilling
through the blinds, Emmanuel anticipated his escape from
the classroom.
Enjoy becoming a member of the royal court!