window; fix config passing as int instead of bool