your outline looks like a pyramid to me w/two sides trapping water against the house & roof. Make a rectangular cricket sloping down from both walls back to the roofline. I agree it should be as wide as possible where it spills off the roof. You're probably limited by the bottom edge of the window but it should be enough height. This space will always need to be checked for debris buildup.