added static flag for multiwindow (2/3)