Simultaneous Dependence of the Earthquake-Size Distribution on Faulting Style and Depth