Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8217 lines (8217 sloc) 169.558 kb
{
"header": "xproto",
"struct": {
"CHAR2B": {
"field": [
{
"type": "CARD8",
"name": "byte1",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "byte2",
"fieldType": "field"
}
]
},
"POINT": {
"field": [
{
"type": "INT16",
"name": "x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y",
"fieldType": "field"
}
]
},
"RECTANGLE": {
"field": [
{
"type": "INT16",
"name": "x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "width",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "height",
"fieldType": "field"
}
]
},
"ARC": {
"field": [
{
"type": "INT16",
"name": "x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "width",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "height",
"fieldType": "field"
},
{
"type": "INT16",
"name": "angle1",
"fieldType": "field"
},
{
"type": "INT16",
"name": "angle2",
"fieldType": "field"
}
]
},
"FORMAT": {
"field": [
{
"type": "CARD8",
"name": "depth",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "bits_per_pixel",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "scanline_pad",
"fieldType": "field"
},
{
"bytes": "5",
"fieldType": "pad"
}
]
},
"VISUALTYPE": {
"field": [
{
"type": "VISUALID",
"name": "visual_id",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "class",
"enum": "VisualClass",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "bits_per_rgb_value",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "colormap_entries",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "red_mask",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "green_mask",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "blue_mask",
"fieldType": "field"
},
{
"bytes": "4",
"fieldType": "pad"
}
]
},
"DEPTH": {
"field": [
{
"type": "CARD8",
"name": "depth",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "CARD16",
"name": "visuals_len",
"fieldType": "field"
},
{
"bytes": "4",
"fieldType": "pad"
},
{
"type": "VISUALTYPE",
"name": "visuals",
"fieldType": "list",
"fieldref": "visuals_len"
}
]
},
"SCREEN": {
"field": [
{
"type": "WINDOW",
"name": "root",
"fieldType": "field"
},
{
"type": "COLORMAP",
"name": "default_colormap",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "white_pixel",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "black_pixel",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "current_input_masks",
"mask": "EventMask",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "width_in_pixels",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "height_in_pixels",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "width_in_millimeters",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "height_in_millimeters",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "min_installed_maps",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "max_installed_maps",
"fieldType": "field"
},
{
"type": "VISUALID",
"name": "root_visual",
"fieldType": "field"
},
{
"type": "BYTE",
"name": "backing_stores",
"enum": "BackingStore",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "save_unders",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "root_depth",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "allowed_depths_len",
"fieldType": "field"
},
{
"type": "DEPTH",
"name": "allowed_depths",
"fieldType": "list",
"fieldref": "allowed_depths_len"
}
]
},
"SetupRequest": {
"field": [
{
"type": "CARD8",
"name": "byte_order",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "CARD16",
"name": "protocol_major_version",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "protocol_minor_version",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "authorization_protocol_name_len",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "authorization_protocol_data_len",
"fieldType": "field"
},
{
"bytes": "2",
"fieldType": "pad"
},
{
"type": "char",
"name": "authorization_protocol_name",
"fieldType": "list",
"fieldref": "authorization_protocol_name_len"
},
{
"type": "char",
"name": "authorization_protocol_data",
"fieldType": "list",
"fieldref": "authorization_protocol_data_len"
}
]
},
"SetupFailed": {
"field": [
{
"type": "CARD8",
"name": "status",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "reason_len",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "protocol_major_version",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "protocol_minor_version",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "length",
"fieldType": "field"
},
{
"type": "char",
"name": "reason",
"fieldType": "list",
"fieldref": "reason_len"
}
]
},
"SetupAuthenticate": {
"field": [
{
"type": "CARD8",
"name": "status",
"fieldType": "field"
},
{
"bytes": "5",
"fieldType": "pad"
},
{
"type": "CARD16",
"name": "length",
"fieldType": "field"
},
{
"type": "char",
"name": "reason",
"fieldType": "list",
"op": {
"operation": "*",
"fieldref": "length",
"value": "4"
}
}
]
},
"Setup": {
"field": [
{
"type": "CARD8",
"name": "status",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "CARD16",
"name": "protocol_major_version",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "protocol_minor_version",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "length",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "release_number",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "resource_id_base",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "resource_id_mask",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "motion_buffer_size",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "vendor_len",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "maximum_request_length",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "roots_len",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "pixmap_formats_len",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "image_byte_order",
"enum": "ImageOrder",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "bitmap_format_bit_order",
"enum": "ImageOrder",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "bitmap_format_scanline_unit",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "bitmap_format_scanline_pad",
"fieldType": "field"
},
{
"type": "KEYCODE",
"name": "min_keycode",
"fieldType": "field"
},
{
"type": "KEYCODE",
"name": "max_keycode",
"fieldType": "field"
},
{
"bytes": "4",
"fieldType": "pad"
},
{
"type": "char",
"name": "vendor",
"fieldType": "list",
"fieldref": "vendor_len"
},
{
"type": "FORMAT",
"name": "pixmap_formats",
"fieldType": "list",
"fieldref": "pixmap_formats_len"
},
{
"type": "SCREEN",
"name": "roots",
"fieldType": "list",
"fieldref": "roots_len"
}
]
},
"TIMECOORD": {
"field": [
{
"type": "TIMESTAMP",
"name": "time",
"fieldType": "field"
},
{
"type": "INT16",
"name": "x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y",
"fieldType": "field"
}
]
},
"FONTPROP": {
"field": [
{
"type": "ATOM",
"name": "name",
"fieldType": "field"
},
{
"type": "CARD32",
"name": "value",
"fieldType": "field"
}
]
},
"CHARINFO": {
"field": [
{
"type": "INT16",
"name": "left_side_bearing",
"fieldType": "field"
},
{
"type": "INT16",
"name": "right_side_bearing",
"fieldType": "field"
},
{
"type": "INT16",
"name": "character_width",
"fieldType": "field"
},
{
"type": "INT16",
"name": "ascent",
"fieldType": "field"
},
{
"type": "INT16",
"name": "descent",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "attributes",
"fieldType": "field"
}
]
},
"STR": {
"field": [
{
"type": "CARD8",
"name": "name_len",
"fieldType": "field"
},
{
"type": "char",
"name": "name",
"fieldType": "list",
"fieldref": "name_len"
}
]
},
"SEGMENT": {
"field": [
{
"type": "INT16",
"name": "x1",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y1",
"fieldType": "field"
},
{
"type": "INT16",
"name": "x2",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y2",
"fieldType": "field"
}
]
},
"COLORITEM": {
"field": [
{
"type": "CARD32",
"name": "pixel",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "red",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "green",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "blue",
"fieldType": "field"
},
{
"type": "BYTE",
"name": "flags",
"mask": "ColorFlag",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
}
]
},
"RGB": {
"field": [
{
"type": "CARD16",
"name": "red",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "green",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "blue",
"fieldType": "field"
},
{
"bytes": "2",
"fieldType": "pad"
}
]
},
"HOST": {
"field": [
{
"type": "CARD8",
"name": "family",
"enum": "Family",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "CARD16",
"name": "address_len",
"fieldType": "field"
},
{
"type": "BYTE",
"name": "address",
"fieldType": "list",
"fieldref": "address_len"
}
]
}
},
"xidtype": {
"WINDOW": {},
"PIXMAP": {},
"CURSOR": {},
"FONT": {},
"GCONTEXT": {},
"COLORMAP": {},
"ATOM": {}
},
"xidunion": {
"DRAWABLE": {
"type": [
"WINDOW",
"PIXMAP"
]
},
"FONTABLE": {
"type": [
"FONT",
"GCONTEXT"
]
}
},
"typedef": {
"VISUALID": {
"oldname": "CARD32",
"newname": "VISUALID"
},
"TIMESTAMP": {
"oldname": "CARD32",
"newname": "TIMESTAMP"
},
"KEYSYM": {
"oldname": "CARD32",
"newname": "KEYSYM"
},
"KEYCODE": {
"oldname": "CARD8",
"newname": "KEYCODE"
},
"BUTTON": {
"oldname": "CARD8",
"newname": "BUTTON"
}
},
"enum": {
"VisualClass": {
"field": [
{
"name": "StaticGray",
"fieldType": "item",
"value": "0"
},
{
"name": "GrayScale",
"fieldType": "item",
"value": "1"
},
{
"name": "StaticColor",
"fieldType": "item",
"value": "2"
},
{
"name": "PseudoColor",
"fieldType": "item",
"value": "3"
},
{
"name": "TrueColor",
"fieldType": "item",
"value": "4"
},
{
"name": "DirectColor",
"fieldType": "item",
"value": "5"
}
]
},
"EventMask": {
"field": [
{
"name": "NoEvent",
"fieldType": "item",
"value": "0"
},
{
"name": "KeyPress",
"fieldType": "item",
"bit": "0"
},
{
"name": "KeyRelease",
"fieldType": "item",
"bit": "1"
},
{
"name": "ButtonPress",
"fieldType": "item",
"bit": "2"
},
{
"name": "ButtonRelease",
"fieldType": "item",
"bit": "3"
},
{
"name": "EnterWindow",
"fieldType": "item",
"bit": "4"
},
{
"name": "LeaveWindow",
"fieldType": "item",
"bit": "5"
},
{
"name": "PointerMotion",
"fieldType": "item",
"bit": "6"
},
{
"name": "PointerMotionHint",
"fieldType": "item",
"bit": "7"
},
{
"name": "Button1Motion",
"fieldType": "item",
"bit": "8"
},
{
"name": "Button2Motion",
"fieldType": "item",
"bit": "9"
},
{
"name": "Button3Motion",
"fieldType": "item",
"bit": "10"
},
{
"name": "Button4Motion",
"fieldType": "item",
"bit": "11"
},
{
"name": "Button5Motion",
"fieldType": "item",
"bit": "12"
},
{
"name": "ButtonMotion",
"fieldType": "item",
"bit": "13"
},
{
"name": "KeymapState",
"fieldType": "item",
"bit": "14"
},
{
"name": "Exposure",
"fieldType": "item",
"bit": "15"
},
{
"name": "VisibilityChange",
"fieldType": "item",
"bit": "16"
},
{
"name": "StructureNotify",
"fieldType": "item",
"bit": "17"
},
{
"name": "ResizeRedirect",
"fieldType": "item",
"bit": "18"
},
{
"name": "SubstructureNotify",
"fieldType": "item",
"bit": "19"
},
{
"name": "SubstructureRedirect",
"fieldType": "item",
"bit": "20"
},
{
"name": "FocusChange",
"fieldType": "item",
"bit": "21"
},
{
"name": "PropertyChange",
"fieldType": "item",
"bit": "22"
},
{
"name": "ColorMapChange",
"fieldType": "item",
"bit": "23"
},
{
"name": "OwnerGrabButton",
"fieldType": "item",
"bit": "24"
}
]
},
"BackingStore": {
"field": [
{
"name": "NotUseful",
"fieldType": "item",
"value": "0"
},
{
"name": "WhenMapped",
"fieldType": "item",
"value": "1"
},
{
"name": "Always",
"fieldType": "item",
"value": "2"
}
]
},
"ImageOrder": {
"field": [
{
"name": "LSBFirst",
"fieldType": "item",
"value": "0"
},
{
"name": "MSBFirst",
"fieldType": "item",
"value": "1"
}
]
},
"ModMask": {
"field": [
{
"name": "Shift",
"fieldType": "item",
"bit": "0"
},
{
"name": "Lock",
"fieldType": "item",
"bit": "1"
},
{
"name": "Control",
"fieldType": "item",
"bit": "2"
},
{
"name": "1",
"fieldType": "item",
"bit": "3"
},
{
"name": "2",
"fieldType": "item",
"bit": "4"
},
{
"name": "3",
"fieldType": "item",
"bit": "5"
},
{
"name": "4",
"fieldType": "item",
"bit": "6"
},
{
"name": "5",
"fieldType": "item",
"bit": "7"
},
{
"name": "Any",
"fieldType": "item",
"bit": "15"
}
]
},
"KeyButMask": {
"field": [
{
"name": "Shift",
"fieldType": "item",
"bit": "0"
},
{
"name": "Lock",
"fieldType": "item",
"bit": "1"
},
{
"name": "Control",
"fieldType": "item",
"bit": "2"
},
{
"name": "Mod1",
"fieldType": "item",
"bit": "3"
},
{
"name": "Mod2",
"fieldType": "item",
"bit": "4"
},
{
"name": "Mod3",
"fieldType": "item",
"bit": "5"
},
{
"name": "Mod4",
"fieldType": "item",
"bit": "6"
},
{
"name": "Mod5",
"fieldType": "item",
"bit": "7"
},
{
"name": "Button1",
"fieldType": "item",
"bit": "8"
},
{
"name": "Button2",
"fieldType": "item",
"bit": "9"
},
{
"name": "Button3",
"fieldType": "item",
"bit": "10"
},
{
"name": "Button4",
"fieldType": "item",
"bit": "11"
},
{
"name": "Button5",
"fieldType": "item",
"bit": "12"
}
]
},
"Window": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
}
]
},
"ButtonMask": {
"field": [
{
"name": "1",
"fieldType": "item",
"bit": "8"
},
{
"name": "2",
"fieldType": "item",
"bit": "9"
},
{
"name": "3",
"fieldType": "item",
"bit": "10"
},
{
"name": "4",
"fieldType": "item",
"bit": "11"
},
{
"name": "5",
"fieldType": "item",
"bit": "12"
},
{
"name": "Any",
"fieldType": "item",
"bit": "15"
}
]
},
"Motion": {
"field": [
{
"name": "Normal",
"fieldType": "item",
"value": "0"
},
{
"name": "Hint",
"fieldType": "item",
"value": "1"
}
]
},
"NotifyDetail": {
"field": [
{
"name": "Ancestor",
"fieldType": "item",
"value": "0"
},
{
"name": "Virtual",
"fieldType": "item",
"value": "1"
},
{
"name": "Inferior",
"fieldType": "item",
"value": "2"
},
{
"name": "Nonlinear",
"fieldType": "item",
"value": "3"
},
{
"name": "NonlinearVirtual",
"fieldType": "item",
"value": "4"
},
{
"name": "Pointer",
"fieldType": "item",
"value": "5"
},
{
"name": "PointerRoot",
"fieldType": "item",
"value": "6"
},
{
"name": "None",
"fieldType": "item",
"value": "7"
}
]
},
"NotifyMode": {
"field": [
{
"name": "Normal",
"fieldType": "item",
"value": "0"
},
{
"name": "Grab",
"fieldType": "item",
"value": "1"
},
{
"name": "Ungrab",
"fieldType": "item",
"value": "2"
},
{
"name": "WhileGrabbed",
"fieldType": "item",
"value": "3"
}
]
},
"Visibility": {
"field": [
{
"name": "Unobscured",
"fieldType": "item",
"value": "0"
},
{
"name": "PartiallyObscured",
"fieldType": "item",
"value": "1"
},
{
"name": "FullyObscured",
"fieldType": "item",
"value": "2"
}
]
},
"Place": {
"field": [
{
"name": "OnTop",
"fieldType": "item",
"value": "0"
},
{
"name": "OnBottom",
"fieldType": "item",
"value": "1"
}
]
},
"Property": {
"field": [
{
"name": "NewValue",
"fieldType": "item",
"value": "0"
},
{
"name": "Delete",
"fieldType": "item",
"value": "1"
}
]
},
"Time": {
"field": [
{
"name": "CurrentTime",
"fieldType": "item",
"value": "0"
}
]
},
"Atom": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
},
{
"name": "Any",
"fieldType": "item",
"value": "0"
},
{
"name": "PRIMARY",
"fieldType": "item"
},
{
"name": "SECONDARY",
"fieldType": "item"
},
{
"name": "ARC",
"fieldType": "item"
},
{
"name": "ATOM",
"fieldType": "item"
},
{
"name": "BITMAP",
"fieldType": "item"
},
{
"name": "CARDINAL",
"fieldType": "item"
},
{
"name": "COLORMAP",
"fieldType": "item"
},
{
"name": "CURSOR",
"fieldType": "item"
},
{
"name": "CUT_BUFFER0",
"fieldType": "item"
},
{
"name": "CUT_BUFFER1",
"fieldType": "item"
},
{
"name": "CUT_BUFFER2",
"fieldType": "item"
},
{
"name": "CUT_BUFFER3",
"fieldType": "item"
},
{
"name": "CUT_BUFFER4",
"fieldType": "item"
},
{
"name": "CUT_BUFFER5",
"fieldType": "item"
},
{
"name": "CUT_BUFFER6",
"fieldType": "item"
},
{
"name": "CUT_BUFFER7",
"fieldType": "item"
},
{
"name": "DRAWABLE",
"fieldType": "item"
},
{
"name": "FONT",
"fieldType": "item"
},
{
"name": "INTEGER",
"fieldType": "item"
},
{
"name": "PIXMAP",
"fieldType": "item"
},
{
"name": "POINT",
"fieldType": "item"
},
{
"name": "RECTANGLE",
"fieldType": "item"
},
{
"name": "RESOURCE_MANAGER",
"fieldType": "item"
},
{
"name": "RGB_COLOR_MAP",
"fieldType": "item"
},
{
"name": "RGB_BEST_MAP",
"fieldType": "item"
},
{
"name": "RGB_BLUE_MAP",
"fieldType": "item"
},
{
"name": "RGB_DEFAULT_MAP",
"fieldType": "item"
},
{
"name": "RGB_GRAY_MAP",
"fieldType": "item"
},
{
"name": "RGB_GREEN_MAP",
"fieldType": "item"
},
{
"name": "RGB_RED_MAP",
"fieldType": "item"
},
{
"name": "STRING",
"fieldType": "item"
},
{
"name": "VISUALID",
"fieldType": "item"
},
{
"name": "WINDOW",
"fieldType": "item"
},
{
"name": "WM_COMMAND",
"fieldType": "item"
},
{
"name": "WM_HINTS",
"fieldType": "item"
},
{
"name": "WM_CLIENT_MACHINE",
"fieldType": "item"
},
{
"name": "WM_ICON_NAME",
"fieldType": "item"
},
{
"name": "WM_ICON_SIZE",
"fieldType": "item"
},
{
"name": "WM_NAME",
"fieldType": "item"
},
{
"name": "WM_NORMAL_HINTS",
"fieldType": "item"
},
{
"name": "WM_SIZE_HINTS",
"fieldType": "item"
},
{
"name": "WM_ZOOM_HINTS",
"fieldType": "item"
},
{
"name": "MIN_SPACE",
"fieldType": "item"
},
{
"name": "NORM_SPACE",
"fieldType": "item"
},
{
"name": "MAX_SPACE",
"fieldType": "item"
},
{
"name": "END_SPACE",
"fieldType": "item"
},
{
"name": "SUPERSCRIPT_X",
"fieldType": "item"
},
{
"name": "SUPERSCRIPT_Y",
"fieldType": "item"
},
{
"name": "SUBSCRIPT_X",
"fieldType": "item"
},
{
"name": "SUBSCRIPT_Y",
"fieldType": "item"
},
{
"name": "UNDERLINE_POSITION",
"fieldType": "item"
},
{
"name": "UNDERLINE_THICKNESS",
"fieldType": "item"
},
{
"name": "STRIKEOUT_ASCENT",
"fieldType": "item"
},
{
"name": "STRIKEOUT_DESCENT",
"fieldType": "item"
},
{
"name": "ITALIC_ANGLE",
"fieldType": "item"
},
{
"name": "X_HEIGHT",
"fieldType": "item"
},
{
"name": "QUAD_WIDTH",
"fieldType": "item"
},
{
"name": "WEIGHT",
"fieldType": "item"
},
{
"name": "POINT_SIZE",
"fieldType": "item"
},
{
"name": "RESOLUTION",
"fieldType": "item"
},
{
"name": "COPYRIGHT",
"fieldType": "item"
},
{
"name": "NOTICE",
"fieldType": "item"
},
{
"name": "FONT_NAME",
"fieldType": "item"
},
{
"name": "FAMILY_NAME",
"fieldType": "item"
},
{
"name": "FULL_NAME",
"fieldType": "item"
},
{
"name": "CAP_HEIGHT",
"fieldType": "item"
},
{
"name": "WM_CLASS",
"fieldType": "item"
},
{
"name": "WM_TRANSIENT_FOR",
"fieldType": "item"
}
]
},
"ColormapState": {
"field": [
{
"name": "Uninstalled",
"fieldType": "item",
"value": "0"
},
{
"name": "Installed",
"fieldType": "item",
"value": "1"
}
]
},
"Colormap": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
}
]
},
"Mapping": {
"field": [
{
"name": "Modifier",
"fieldType": "item",
"value": "0"
},
{
"name": "Keyboard",
"fieldType": "item",
"value": "1"
},
{
"name": "Pointer",
"fieldType": "item",
"value": "2"
}
]
},
"WindowClass": {
"field": [
{
"name": "CopyFromParent",
"fieldType": "item",
"value": "0"
},
{
"name": "InputOutput",
"fieldType": "item",
"value": "1"
},
{
"name": "InputOnly",
"fieldType": "item",
"value": "2"
}
]
},
"CW": {
"field": [
{
"name": "BackPixmap",
"fieldType": "item",
"bit": "0"
},
{
"name": "BackPixel",
"fieldType": "item",
"bit": "1"
},
{
"name": "BorderPixmap",
"fieldType": "item",
"bit": "2"
},
{
"name": "BorderPixel",
"fieldType": "item",
"bit": "3"
},
{
"name": "BitGravity",
"fieldType": "item",
"bit": "4"
},
{
"name": "WinGravity",
"fieldType": "item",
"bit": "5"
},
{
"name": "BackingStore",
"fieldType": "item",
"bit": "6"
},
{
"name": "BackingPlanes",
"fieldType": "item",
"bit": "7"
},
{
"name": "BackingPixel",
"fieldType": "item",
"bit": "8"
},
{
"name": "OverrideRedirect",
"fieldType": "item",
"bit": "9"
},
{
"name": "SaveUnder",
"fieldType": "item",
"bit": "10"
},
{
"name": "EventMask",
"fieldType": "item",
"bit": "11"
},
{
"name": "DontPropagate",
"fieldType": "item",
"bit": "12"
},
{
"name": "Colormap",
"fieldType": "item",
"bit": "13"
},
{
"name": "Cursor",
"fieldType": "item",
"bit": "14"
}
]
},
"BackPixmap": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
},
{
"name": "ParentRelative",
"fieldType": "item",
"value": "1"
}
]
},
"Gravity": {
"field": [
{
"name": "BitForget",
"fieldType": "item",
"value": "0"
},
{
"name": "WinUnmap",
"fieldType": "item",
"value": "0"
},
{
"name": "NorthWest",
"fieldType": "item",
"value": "1"
},
{
"name": "North",
"fieldType": "item",
"value": "2"
},
{
"name": "NorthEast",
"fieldType": "item",
"value": "3"
},
{
"name": "West",
"fieldType": "item",
"value": "4"
},
{
"name": "Center",
"fieldType": "item",
"value": "5"
},
{
"name": "East",
"fieldType": "item",
"value": "6"
},
{
"name": "SouthWest",
"fieldType": "item",
"value": "7"
},
{
"name": "South",
"fieldType": "item",
"value": "8"
},
{
"name": "SouthEast",
"fieldType": "item",
"value": "9"
},
{
"name": "Static",
"fieldType": "item",
"value": "10"
}
]
},
"MapState": {
"field": [
{
"name": "Unmapped",
"fieldType": "item",
"value": "0"
},
{
"name": "Unviewable",
"fieldType": "item",
"value": "1"
},
{
"name": "Viewable",
"fieldType": "item",
"value": "2"
}
]
},
"SetMode": {
"field": [
{
"name": "Insert",
"fieldType": "item",
"value": "0"
},
{
"name": "Delete",
"fieldType": "item",
"value": "1"
}
]
},
"ConfigWindow": {
"field": [
{
"name": "X",
"fieldType": "item",
"bit": "0"
},
{
"name": "Y",
"fieldType": "item",
"bit": "1"
},
{
"name": "Width",
"fieldType": "item",
"bit": "2"
},
{
"name": "Height",
"fieldType": "item",
"bit": "3"
},
{
"name": "BorderWidth",
"fieldType": "item",
"bit": "4"
},
{
"name": "Sibling",
"fieldType": "item",
"bit": "5"
},
{
"name": "StackMode",
"fieldType": "item",
"bit": "6"
}
]
},
"StackMode": {
"field": [
{
"name": "Above",
"fieldType": "item",
"value": "0"
},
{
"name": "Below",
"fieldType": "item",
"value": "1"
},
{
"name": "TopIf",
"fieldType": "item",
"value": "2"
},
{
"name": "BottomIf",
"fieldType": "item",
"value": "3"
},
{
"name": "Opposite",
"fieldType": "item",
"value": "4"
}
]
},
"Circulate": {
"field": [
{
"name": "RaiseLowest",
"fieldType": "item",
"value": "0"
},
{
"name": "LowerHighest",
"fieldType": "item",
"value": "1"
}
]
},
"PropMode": {
"field": [
{
"name": "Replace",
"fieldType": "item",
"value": "0"
},
{
"name": "Prepend",
"fieldType": "item",
"value": "1"
},
{
"name": "Append",
"fieldType": "item",
"value": "2"
}
]
},
"GetPropertyType": {
"field": [
{
"name": "Any",
"fieldType": "item",
"value": "0"
}
]
},
"SendEventDest": {
"field": [
{
"name": "PointerWindow",
"fieldType": "item",
"value": "0"
},
{
"name": "ItemFocus",
"fieldType": "item",
"value": "1"
}
]
},
"GrabMode": {
"field": [
{
"name": "Sync",
"fieldType": "item",
"value": "0"
},
{
"name": "Async",
"fieldType": "item",
"value": "1"
}
]
},
"GrabStatus": {
"field": [
{
"name": "Success",
"fieldType": "item",
"value": "0"
},
{
"name": "AlreadyGrabbed",
"fieldType": "item",
"value": "1"
},
{
"name": "InvalidTime",
"fieldType": "item",
"value": "2"
},
{
"name": "NotViewable",
"fieldType": "item",
"value": "3"
},
{
"name": "Frozen",
"fieldType": "item",
"value": "4"
}
]
},
"Cursor": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
}
]
},
"ButtonIndex": {
"field": [
{
"name": "Any",
"fieldType": "item",
"value": "0"
},
{
"name": "1",
"fieldType": "item",
"value": "1"
},
{
"name": "2",
"fieldType": "item",
"value": "2"
},
{
"name": "3",
"fieldType": "item",
"value": "3"
},
{
"name": "4",
"fieldType": "item",
"value": "4"
},
{
"name": "5",
"fieldType": "item",
"value": "5"
}
]
},
"Grab": {
"field": [
{
"name": "Any",
"fieldType": "item",
"value": "0"
}
]
},
"Allow": {
"field": [
{
"name": "AsyncPointer",
"fieldType": "item",
"value": "0"
},
{
"name": "SyncPointer",
"fieldType": "item",
"value": "1"
},
{
"name": "ReplayPointer",
"fieldType": "item",
"value": "2"
},
{
"name": "AsyncKeyboard",
"fieldType": "item",
"value": "3"
},
{
"name": "SyncKeyboard",
"fieldType": "item",
"value": "4"
},
{
"name": "ReplayKeyboard",
"fieldType": "item",
"value": "5"
},
{
"name": "AsyncBoth",
"fieldType": "item",
"value": "6"
},
{
"name": "SyncBoth",
"fieldType": "item",
"value": "7"
}
]
},
"InputFocus": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
},
{
"name": "PointerRoot",
"fieldType": "item",
"value": "1"
},
{
"name": "Parent",
"fieldType": "item",
"value": "2"
},
{
"name": "FollowKeyboard",
"fieldType": "item",
"value": "3"
}
]
},
"FontDraw": {
"field": [
{
"name": "LeftToRight",
"fieldType": "item",
"value": "0"
},
{
"name": "RightToLeft",
"fieldType": "item",
"value": "1"
}
]
},
"GC": {
"field": [
{
"name": "Function",
"fieldType": "item",
"bit": "0"
},
{
"name": "PlaneMask",
"fieldType": "item",
"bit": "1"
},
{
"name": "Foreground",
"fieldType": "item",
"bit": "2"
},
{
"name": "Background",
"fieldType": "item",
"bit": "3"
},
{
"name": "LineWidth",
"fieldType": "item",
"bit": "4"
},
{
"name": "LineStyle",
"fieldType": "item",
"bit": "5"
},
{
"name": "CapStyle",
"fieldType": "item",
"bit": "6"
},
{
"name": "JoinStyle",
"fieldType": "item",
"bit": "7"
},
{
"name": "FillStyle",
"fieldType": "item",
"bit": "8"
},
{
"name": "FillRule",
"fieldType": "item",
"bit": "9"
},
{
"name": "Tile",
"fieldType": "item",
"bit": "10"
},
{
"name": "Stipple",
"fieldType": "item",
"bit": "11"
},
{
"name": "TileStippleOriginX",
"fieldType": "item",
"bit": "12"
},
{
"name": "TileStippleOriginY",
"fieldType": "item",
"bit": "13"
},
{
"name": "Font",
"fieldType": "item",
"bit": "14"
},
{
"name": "SubwindowMode",
"fieldType": "item",
"bit": "15"
},
{
"name": "GraphicsExposures",
"fieldType": "item",
"bit": "16"
},
{
"name": "ClipOriginX",
"fieldType": "item",
"bit": "17"
},
{
"name": "ClipOriginY",
"fieldType": "item",
"bit": "18"
},
{
"name": "ClipMask",
"fieldType": "item",
"bit": "19"
},
{
"name": "DashOffset",
"fieldType": "item",
"bit": "20"
},
{
"name": "DashList",
"fieldType": "item",
"bit": "21"
},
{
"name": "ArcMode",
"fieldType": "item",
"bit": "22"
}
]
},
"GX": {
"field": [
{
"name": "clear",
"fieldType": "item",
"value": "0"
},
{
"name": "and",
"fieldType": "item",
"value": "1"
},
{
"name": "andReverse",
"fieldType": "item",
"value": "2"
},
{
"name": "copy",
"fieldType": "item",
"value": "3"
},
{
"name": "andInverted",
"fieldType": "item",
"value": "4"
},
{
"name": "noop",
"fieldType": "item",
"value": "5"
},
{
"name": "xor",
"fieldType": "item",
"value": "6"
},
{
"name": "or",
"fieldType": "item",
"value": "7"
},
{
"name": "nor",
"fieldType": "item",
"value": "8"
},
{
"name": "equiv",
"fieldType": "item",
"value": "9"
},
{
"name": "invert",
"fieldType": "item",
"value": "10"
},
{
"name": "orReverse",
"fieldType": "item",
"value": "11"
},
{
"name": "copyInverted",
"fieldType": "item",
"value": "12"
},
{
"name": "orInverted",
"fieldType": "item",
"value": "13"
},
{
"name": "nand",
"fieldType": "item",
"value": "14"
},
{
"name": "set",
"fieldType": "item",
"value": "15"
}
]
},
"LineStyle": {
"field": [
{
"name": "Solid",
"fieldType": "item",
"value": "0"
},
{
"name": "OnOffDash",
"fieldType": "item",
"value": "1"
},
{
"name": "DoubleDash",
"fieldType": "item",
"value": "2"
}
]
},
"CapStyle": {
"field": [
{
"name": "NotLast",
"fieldType": "item",
"value": "0"
},
{
"name": "Butt",
"fieldType": "item",
"value": "1"
},
{
"name": "Round",
"fieldType": "item",
"value": "2"
},
{
"name": "Projecting",
"fieldType": "item",
"value": "3"
}
]
},
"JoinStyle": {
"field": [
{
"name": "Miter",
"fieldType": "item",
"value": "0"
},
{
"name": "Round",
"fieldType": "item",
"value": "1"
},
{
"name": "Bevel",
"fieldType": "item",
"value": "2"
}
]
},
"FillStyle": {
"field": [
{
"name": "Solid",
"fieldType": "item",
"value": "0"
},
{
"name": "Tiled",
"fieldType": "item",
"value": "1"
},
{
"name": "Stippled",
"fieldType": "item",
"value": "2"
},
{
"name": "OpaqueStippled",
"fieldType": "item",
"value": "3"
}
]
},
"FillRule": {
"field": [
{
"name": "EvenOdd",
"fieldType": "item",
"value": "0"
},
{
"name": "Winding",
"fieldType": "item",
"value": "1"
}
]
},
"SubwindowMode": {
"field": [
{
"name": "ClipByChildren",
"fieldType": "item",
"value": "0"
},
{
"name": "IncludeInferiors",
"fieldType": "item",
"value": "1"
}
]
},
"ArcMode": {
"field": [
{
"name": "Chord",
"fieldType": "item",
"value": "0"
},
{
"name": "PieSlice",
"fieldType": "item",
"value": "1"
}
]
},
"ClipOrdering": {
"field": [
{
"name": "Unsorted",
"fieldType": "item",
"value": "0"
},
{
"name": "YSorted",
"fieldType": "item",
"value": "1"
},
{
"name": "YXSorted",
"fieldType": "item",
"value": "2"
},
{
"name": "YXBanded",
"fieldType": "item",
"value": "3"
}
]
},
"CoordMode": {
"field": [
{
"name": "Origin",
"fieldType": "item",
"value": "0"
},
{
"name": "Previous",
"fieldType": "item",
"value": "1"
}
]
},
"PolyShape": {
"field": [
{
"name": "Complex",
"fieldType": "item",
"value": "0"
},
{
"name": "Nonconvex",
"fieldType": "item",
"value": "1"
},
{
"name": "Convex",
"fieldType": "item",
"value": "2"
}
]
},
"ImageFormat": {
"field": [
{
"name": "XYBitmap",
"fieldType": "item",
"value": "0"
},
{
"name": "XYPixmap",
"fieldType": "item",
"value": "1"
},
{
"name": "ZPixmap",
"fieldType": "item",
"value": "2"
}
]
},
"ColormapAlloc": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
},
{
"name": "All",
"fieldType": "item",
"value": "1"
}
]
},
"ColorFlag": {
"field": [
{
"name": "Red",
"fieldType": "item",
"bit": "0"
},
{
"name": "Green",
"fieldType": "item",
"bit": "1"
},
{
"name": "Blue",
"fieldType": "item",
"bit": "2"
}
]
},
"Pixmap": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
}
]
},
"Font": {
"field": [
{
"name": "None",
"fieldType": "item",
"value": "0"
}
]
},
"QueryShapeOf": {
"field": [
{
"name": "LargestCursor",
"fieldType": "item",
"value": "0"
},
{
"name": "FastestTile",
"fieldType": "item",
"value": "1"
},
{
"name": "FastestStipple",
"fieldType": "item",
"value": "2"
}
]
},
"KB": {
"field": [
{
"name": "KeyClickPercent",
"fieldType": "item",
"bit": "0"
},
{
"name": "BellPercent",
"fieldType": "item",
"bit": "1"
},
{
"name": "BellPitch",
"fieldType": "item",
"bit": "2"
},
{
"name": "BellDuration",
"fieldType": "item",
"bit": "3"
},
{
"name": "Led",
"fieldType": "item",
"bit": "4"
},
{
"name": "LedMode",
"fieldType": "item",
"bit": "5"
},
{
"name": "Key",
"fieldType": "item",
"bit": "6"
},
{
"name": "AutoRepeatMode",
"fieldType": "item",
"bit": "7"
}
]
},
"LedMode": {
"field": [
{
"name": "Off",
"fieldType": "item",
"value": "0"
},
{
"name": "On",
"fieldType": "item",
"value": "1"
}
]
},
"AutoRepeatMode": {
"field": [
{
"name": "Off",
"fieldType": "item",
"value": "0"
},
{
"name": "On",
"fieldType": "item",
"value": "1"
},
{
"name": "Default",
"fieldType": "item",
"value": "2"
}
]
},
"Blanking": {
"field": [
{
"name": "NotPreferred",
"fieldType": "item",
"value": "0"
},
{
"name": "Preferred",
"fieldType": "item",
"value": "1"
},
{
"name": "Default",
"fieldType": "item",
"value": "2"
}
]
},
"Exposures": {
"field": [
{
"name": "NotAllowed",
"fieldType": "item",
"value": "0"
},
{
"name": "Allowed",
"fieldType": "item",
"value": "1"
},
{
"name": "Default",
"fieldType": "item",
"value": "2"
}
]
},
"HostMode": {
"field": [
{
"name": "Insert",
"fieldType": "item",
"value": "0"
},
{
"name": "Delete",
"fieldType": "item",
"value": "1"
}
]
},
"Family": {
"field": [
{
"name": "Internet",
"fieldType": "item",
"value": "0"
},
{
"name": "DECnet",
"fieldType": "item",
"value": "1"
},
{
"name": "Chaos",
"fieldType": "item",
"value": "2"
},
{
"name": "ServerInterpreted",
"fieldType": "item",
"value": "5"
},
{
"name": "Internet6",
"fieldType": "item",
"value": "6"
}
]
},
"AccessControl": {
"field": [
{
"name": "Disable",
"fieldType": "item",
"value": "0"
},
{
"name": "Enable",
"fieldType": "item",
"value": "1"
}
]
},
"CloseDown": {
"field": [
{
"name": "DestroyAll",
"fieldType": "item",
"value": "0"
},
{
"name": "RetainPermanent",
"fieldType": "item",
"value": "1"
},
{
"name": "RetainTemporary",
"fieldType": "item",
"value": "2"
}
]
},
"Kill": {
"field": [
{
"name": "AllTemporary",
"fieldType": "item",
"value": "0"
}
]
},
"ScreenSaver": {
"field": [
{
"name": "Reset",
"fieldType": "item",
"value": "0"
},
{
"name": "Active",
"fieldType": "item",
"value": "1"
}
]
},
"MappingStatus": {
"field": [
{
"name": "Success",
"fieldType": "item",
"value": "0"
},
{
"name": "Busy",
"fieldType": "item",
"value": "1"
},
{
"name": "Failure",
"fieldType": "item",
"value": "2"
}
]
},
"MapIndex": {
"field": [
{
"name": "Shift",
"fieldType": "item",
"value": "0"
},
{
"name": "Lock",
"fieldType": "item",
"value": "1"
},
{
"name": "Control",
"fieldType": "item",
"value": "2"
},
{
"name": "1",
"fieldType": "item",
"value": "3"
},
{
"name": "2",
"fieldType": "item",
"value": "4"
},
{
"name": "3",
"fieldType": "item",
"value": "5"
},
{
"name": "4",
"fieldType": "item",
"value": "6"
},
{
"name": "5",
"fieldType": "item",
"value": "7"
}
]
}
},
"event": {
"KeyPress": {
"number": "2",
"field": [
{
"type": "KEYCODE",
"name": "detail",
"fieldType": "field"
},
{
"type": "TIMESTAMP",
"name": "time",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "root",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "child",
"altenum": "Window",
"fieldType": "field"
},
{
"type": "INT16",
"name": "root_x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "root_y",
"fieldType": "field"
},
{
"type": "INT16",
"name": "event_x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "event_y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "state",
"mask": "KeyButMask",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "same_screen",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
}
]
},
"ButtonPress": {
"number": "4",
"field": [
{
"type": "BUTTON",
"name": "detail",
"fieldType": "field"
},
{
"type": "TIMESTAMP",
"name": "time",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "root",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "child",
"altenum": "Window",
"fieldType": "field"
},
{
"type": "INT16",
"name": "root_x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "root_y",
"fieldType": "field"
},
{
"type": "INT16",
"name": "event_x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "event_y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "state",
"mask": "KeyButMask",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "same_screen",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
}
]
},
"MotionNotify": {
"number": "6",
"field": [
{
"type": "BYTE",
"name": "detail",
"enum": "Motion",
"fieldType": "field"
},
{
"type": "TIMESTAMP",
"name": "time",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "root",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "child",
"altenum": "Window",
"fieldType": "field"
},
{
"type": "INT16",
"name": "root_x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "root_y",
"fieldType": "field"
},
{
"type": "INT16",
"name": "event_x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "event_y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "state",
"mask": "KeyButMask",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "same_screen",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
}
]
},
"EnterNotify": {
"number": "7",
"field": [
{
"type": "BYTE",
"name": "detail",
"enum": "NotifyDetail",
"fieldType": "field"
},
{
"type": "TIMESTAMP",
"name": "time",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "root",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "child",
"altenum": "Window",
"fieldType": "field"
},
{
"type": "INT16",
"name": "root_x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "root_y",
"fieldType": "field"
},
{
"type": "INT16",
"name": "event_x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "event_y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "state",
"mask": "KeyButMask",
"fieldType": "field"
},
{
"type": "BYTE",
"name": "mode",
"enum": "NotifyMode",
"fieldType": "field"
},
{
"type": "BYTE",
"name": "same_screen_focus",
"fieldType": "field"
}
]
},
"FocusIn": {
"number": "9",
"field": [
{
"type": "BYTE",
"name": "detail",
"enum": "NotifyDetail",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "BYTE",
"name": "mode",
"enum": "NotifyMode",
"fieldType": "field"
},
{
"bytes": "3",
"fieldType": "pad"
}
]
},
"KeymapNotify": {
"number": "11",
"no-sequence-number": "true",
"field": [
{
"type": "CARD8",
"name": "keys",
"fieldType": "list",
"value": "31"
}
]
},
"Expose": {
"number": "12",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "x",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "width",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "height",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "count",
"fieldType": "field"
},
{
"bytes": "2",
"fieldType": "pad"
}
]
},
"GraphicsExposure": {
"number": "13",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "DRAWABLE",
"name": "drawable",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "x",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "width",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "height",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "minor_opcode",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "count",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "major_opcode",
"fieldType": "field"
},
{
"bytes": "3",
"fieldType": "pad"
}
]
},
"NoExposure": {
"number": "14",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "DRAWABLE",
"name": "drawable",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "minor_opcode",
"fieldType": "field"
},
{
"type": "CARD8",
"name": "major_opcode",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
}
]
},
"VisibilityNotify": {
"number": "15",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
},
{
"type": "BYTE",
"name": "state",
"enum": "Visibility",
"fieldType": "field"
},
{
"bytes": "3",
"fieldType": "pad"
}
]
},
"CreateNotify": {
"number": "16",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "parent",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
},
{
"type": "INT16",
"name": "x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "width",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "height",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "border_width",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "override_redirect",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
}
]
},
"DestroyNotify": {
"number": "17",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
}
]
},
"UnmapNotify": {
"number": "18",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "from_configure",
"fieldType": "field"
},
{
"bytes": "3",
"fieldType": "pad"
}
]
},
"MapNotify": {
"number": "19",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "override_redirect",
"fieldType": "field"
},
{
"bytes": "3",
"fieldType": "pad"
}
]
},
"MapRequest": {
"number": "20",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "parent",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
}
]
},
"ReparentNotify": {
"number": "21",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "parent",
"fieldType": "field"
},
{
"type": "INT16",
"name": "x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "override_redirect",
"fieldType": "field"
},
{
"bytes": "3",
"fieldType": "pad"
}
]
},
"ConfigureNotify": {
"number": "22",
"field": [
{
"bytes": "1",
"fieldType": "pad"
},
{
"type": "WINDOW",
"name": "event",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "window",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "above_sibling",
"altenum": "Window",
"fieldType": "field"
},
{
"type": "INT16",
"name": "x",
"fieldType": "field"
},
{
"type": "INT16",
"name": "y",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "width",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "height",
"fieldType": "field"
},
{
"type": "CARD16",
"name": "border_width",
"fieldType": "field"
},
{
"type": "BOOL",
"name": "override_redirect",
"fieldType": "field"
},
{
"bytes": "1",
"fieldType": "pad"
}
]
},
"ConfigureRequest": {
"number": "23",
"field": [
{
"type": "BYTE",
"name": "stack_mode",
"enum": "StackMode",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "parent",
"fieldType": "field"
},
{
"type": "WINDOW",
"name": "window"