make _WINDOW_TYPES update 2/3 compatible