passive wank
A passive wank or passivewank (verb) is the action of masturbating whilst also partaking in a specifically intellectual activity, so much so that the act of masturbating becomes an afterthought
"Matt! Why are you passive wanking?! We're trying to do surgery here!"