My proposal will solve all of these problems, and even more ! It will allow people to have any sized window with any shape (well not all possible, but nearly...).
Note: If we want any window shape, we'll have to allocate a little bigger buffer and change a little the main structure of this buffer...We'll see that later.
Clipping will then be made instantaneously and automatically
! Here are some examples of possible and impossible windows shapes: