Q. One that sleeps on Shavuos night leaning on his hand, does he say Hamapil?
A. On question 2688 regarding if someone goes to sleep for a short time on the night of Shavuos should he recite the brocho of Hamapil, we answered: "Shaarei Teshuva, Birkei Yosef (O.H. 229: 2) and others maintain that if one goes to sleep before daybreak, the brocho of Hamapil should be recited, although some Poskim disagree, when one goes to sleep after Chatzoz. (See Nitei Gavriel 17: 1).
Horav Shlomo Miller’s opinion is that he should recite even if he takes a nap longer that a half an hour, before daybreak."
The Rov maintains that the same applies if he just sleeps seating down and leaning on his hand.
Rabbi A. Bartfeld as revised by Horav Dovid Pam, Horav Aharon Miller and Horav Chanoch Ehrentreu Shlit'a.