For the purposes of listing the window state elements, window state is classified into three types: base state, frame buffer capability state, and layer state. The tags top-level, sub-win, and cindex indicate the table entry applies only to top-level windows, subwindows, or color index windows respectively.