No, the entire mattress would be usable, even if it were fully beneath the desk, because it is much lower than the desk. I would expect there to be ~400mm between the upper surface of the mattress and the desk. Not much, so half extends out to give a bit more room – perhaps that needs to be more…