window flag copy

window flag copy