Changed window flags