Add window attributes.