window positions and variable patch