Allow window flags to be customized.