[PATCH v2 2/6] server: Introduce a struct class_info to wrap window class info.