Refactor configure window request.