head 1.1; branch 1.1.1; access; symbols libX11-1-8-12:1.1.1.5 netbsd-10-1-RELEASE:1.1.1.5 libX11-1-8-10:1.1.1.5 libX11-1-8-9:1.1.1.5 netbsd-8-3-RELEASE:1.1.1.3.2.1 netbsd-9-4-RELEASE:1.1.1.4.2.1 netbsd-10-0-RELEASE:1.1.1.5 netbsd-10-0-RC6:1.1.1.5 netbsd-10-0-RC5:1.1.1.5 netbsd-10-0-RC4:1.1.1.5 netbsd-10-0-RC3:1.1.1.5 netbsd-10-0-RC2:1.1.1.5 netbsd-10-0-RC1:1.1.1.5 libX11-1-8-7:1.1.1.5 libX11-1-8-6:1.1.1.5 libX11-1-8-4:1.1.1.5 libX11-1-8-3:1.1.1.5 netbsd-10:1.1.1.5.0.2 netbsd-10-base:1.1.1.5 libX11-1-8-2:1.1.1.5 netbsd-9-3-RELEASE:1.1.1.4.2.1 libX11-1-8-1:1.1.1.5 libX11-1-7-2:1.1.1.5 libX11-1-7-1:1.1.1.5 netbsd-9-2-RELEASE:1.1.1.4.2.1 libX11-1-7-0:1.1.1.5 netbsd-9-1-RELEASE:1.1.1.4.2.1 libX11-1-6-12:1.1.1.5 libX11-1-6-10:1.1.1.5 netbsd-8-2-RELEASE:1.1.1.3 libX11-1-6-9:1.1.1.4 netbsd-9-0-RELEASE:1.1.1.4 netbsd-9-0-RC2:1.1.1.4 netbsd-9-0-RC1:1.1.1.4 netbsd-9:1.1.1.4.0.2 netbsd-9-base:1.1.1.4 libX11-1-6-8:1.1.1.4 netbsd-8-1-RELEASE:1.1.1.3 netbsd-8-1-RC1:1.1.1.3 libX11-1-6-7:1.1.1.3 netbsd-7-2-RELEASE:1.1.1.2 libX11-1-6-6:1.1.1.3 netbsd-8-0-RELEASE:1.1.1.3 netbsd-8-0-RC2:1.1.1.3 netbsd-8-0-RC1:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.2 netbsd-7-1-1-RELEASE:1.1.1.2 netbsd-8:1.1.1.3.0.2 netbsd-8-base:1.1.1.3 netbsd-7-1:1.1.1.2.0.8 netbsd-7-1-RELEASE:1.1.1.2 libX11-1-6-5:1.1.1.3 netbsd-7-1-RC2:1.1.1.2 netbsd-7-1-RC1:1.1.1.2 netbsd-7-0-2-RELEASE:1.1.1.2 libX11-1-6-4:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.2 netbsd-7-0:1.1.1.2.0.6 netbsd-7-0-RELEASE:1.1.1.2 netbsd-7-0-RC3:1.1.1.2 netbsd-7-0-RC2:1.1.1.2 libX11-1-6-3:1.1.1.3 netbsd-7-0-RC1:1.1.1.2 netbsd-6-0-6-RELEASE:1.1.1.1 netbsd-6-1-5-RELEASE:1.1.1.1 netbsd-7:1.1.1.2.0.4 netbsd-7-base:1.1.1.2 netbsd-6-1-4-RELEASE:1.1.1.1 netbsd-6-0-5-RELEASE:1.1.1.1 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.2 libX11-1-6-2:1.1.1.2 riastradh-drm2:1.1.1.2.0.2 riastradh-drm2-base:1.1.1.2 netbsd-6-1-3-RELEASE:1.1.1.1 netbsd-6-0-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.1 netbsd-6-0-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.1 libX11-1-6-0:1.1.1.2 libX11-1-5-99-902:1.1.1.2 netbsd-6-1:1.1.1.1.0.6 netbsd-6-0-2-RELEASE:1.1.1.1 netbsd-6-1-RELEASE:1.1.1.1 netbsd-6-1-RC4:1.1.1.1 netbsd-6-1-RC3:1.1.1.1 netbsd-6-1-RC2:1.1.1.1 netbsd-6-1-RC1:1.1.1.1 netbsd-6-0-1-RELEASE:1.1.1.1 netbsd-6-0:1.1.1.1.0.4 netbsd-6-0-RELEASE:1.1.1.1 netbsd-6-0-RC2:1.1.1.1 netbsd-6-0-RC1:1.1.1.1 netbsd-6:1.1.1.1.0.2 netbsd-6-base:1.1.1.1 libX11-1-4-4:1.1.1.1 libX11-1-4-3:1.1.1.1 libX11-1-4-1:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.1 date 2011.02.23.07.55.46; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.02.23.07.55.46; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2013.05.30.23.04.39; author mrg; state Exp; branches; next 1.1.1.3; commitid IUyYawfUjfmA1IRw; 1.1.1.3 date 2015.07.19.08.08.35; author mrg; state Exp; branches 1.1.1.3.2.1; next 1.1.1.4; commitid u9SvqCeNOT4JZRty; 1.1.1.4 date 2019.07.08.22.58.28; author mrg; state Exp; branches 1.1.1.4.2.1; next 1.1.1.5; commitid TX2Bwxvqtn5ijiuB; 1.1.1.5 date 2020.07.31.19.20.13; author maya; state Exp; branches; next ; commitid wKQpQx6YVbKWAgiC; 1.1.1.3.2.1 date 2020.08.05.14.10.18; author martin; state Exp; branches; next ; commitid T4Ew2NPUnS7WGSiC; 1.1.1.4.2.1 date 2020.08.05.13.44.41; author martin; state Exp; branches; next ; commitid GK8VBXSXTVIexSiC; desc @@ 1.1 log @Initial revision @ text @ Keyboard Geometry The Xkb description of a keyboard includes an optional keyboard geometry that describes the physical appearance of the keyboard. Keyboard geometry describes the shape, location, and color of all keyboard keys or other visible keyboard components such as indicators. The information contained in a keyboard geometry is sufficient to allow a client program to draw an accurate two-dimensional image of the keyboard. You can retrieve a keyboard geometry from an X server that supports Xkb, or you can allocate it from scratch and initialize it in a client program. The keyboard geometry need not have any correspondence with the physical keyboard that is connected to the X server. Geometry measurements are specified in mm/10 units. The origin (0,0) is in the top left corner of the keyboard image. A component’s own origin is also its upper left corner. In some cases a component needs to be drawn rotated. For example, a special keyboard may have a section of keys arranged in rows in a rectangular area, but the entire rectangle may not be in alignment with the rest of the keyboard, and instead, it is rotated from horizontal by 30 o . Rotation for a geometry object is specified in 1/10 o increments about its origin. An example of a keyboard with rotated sections is shown in Figure 13.1. Rotated Keyboard Sections Some geometry components include a priority , which indicates the order in which overlapping objects should be drawn. Objects should be drawn in order from highest priority (0) to lowest (255). The keyboard geometry’s top-level description is stored in a XkbGeometryRec structure. This structure contains three types of information: Lists of items, not used to draw the basic keyboard, but indexed by the geometry descriptions that comprise the entire keyboard geometry (colors, geometry properties, key aliases, shapes) A number of singleton items that describe the keyboard as a whole (keyboard name, width and height, a color for the keyboard as a whole, and a color for keyboard key labels) A list of the keyboard’s sections and nonkey doodads The top-level geometry is described in more detail in the following. The lists of items used by components of the keyboard geometry description is as follows: The top-level keyboard geometry description includes a list of up to MaxColors (32) color names . A color name is a string whose interpretation is not specified by Xkb. The XkbColorRec structure provides a field for this name as well as a pixel field. The pixel field is a convenient place for an application to store a pixel value or color definition, if it needs to. All other geometry data structures refer to colors using their indices in this global list. The top-level keyboard geometry description includes a list of geometry properties . A geometry property associates an arbitrary string with an equally arbitrary name. Geometry properties can be used to provide hints to programs that display images of keyboards, but they are not interpreted by Xkb. No other geometry structures refer to geometry properties. As an example of a possible use of properties , consider the pause/break key on most PC keyboards: the "break" symbol is usually on the front of the key and is often a different color. A program might set a property to: LBL_PAUS = "{Pause/top/black,Break/front/red}" and use the property information to draw the key with a front label as well as a top label. The top-level keyboard geometry description includes a list of key aliases (see Chapter 18). Key aliases allow the keyboard layout designer to assign multiple key names to a single key. Key aliases defined in the geometry component of a keyboard mapping override those defined in the keycodes component of the server database, which are stored in the XkbNamesRec ( xkb->names ). Therefore, consider the key aliases defined by the geometry before considering key aliases supplied by the keycodes. The top-level keyboard geometry description includes a list of shapes ; other keyboard components refer to shapes by their index in this list. A shape consists of an arbitrary name of type Atom and one or more closed-polygon outlines . All points in an outline are specified relative to the origin of its enclosing shape, that is, whichever shape that contains this outline in its list of outlines. One outline is the primary outline. The primary outline is by default the first outline, or it can be optionally specified by the primary field in the XkbShapeRec structure. A keyboard display application can generate a simpler but still accurate keyboard image by displaying only the primary outlines for each shape. Nonrectangular keys must include a rectangular approximation as one of the outlines associated with the shape. The approximation is not normally displayed but can be used by very simple keyboard display applications to generate a recognizable but degraded image of the keyboard. The XkbGeometryRec top-level geometry description contains the following information that pertains to the keyboard as a whole: A keyboard symbolic name of type Atom to help users identify the keyboard. The width and height of the keyboard, in mm/10. For nonrectangular keyboards, the width and height describe the smallest bounding box that encloses the outline of the keyboard. The base color of the keyboard is the predominant color on the keyboard and is used as the default color for any components whose color is not explicitly specified. The label color is the color used to draw the labels on most of the keyboard keys. The label font is a string that describes the font used to draw labels on most keys; label fonts are arbitrary strings, because Xkb does not specify the format or name space for font names. The keyboard is subdivided into named sections of related keys and doodads. The sections and doodads on the keyboard are listed in the XkbGeometryRec top-level keyboard geometry description. A section is composed of keys that are physically together and logically related. Figure 13.2 shows a keyboard that is divided into four sections. A doodad describes some visible aspect of the keyboard that is not a key and is not a section. Keyboard with Four Sections Shapes and Outlines A shape , used to draw keyboard components and stored in a XkbShapeRec structure, has: An arbitrary name of type Atom. Bounds (two x and y coordinates) that describe the corners of a rectangle containing the shape’s top surface outline. A list of one or more outlines (described below). Optional pointers to a primary and an approximation outline (described below). If either of these pointers is NULL , the default primary/approximation outline is the first one in the list of outlines for the shape. An outline , stored in a XkbOutlineRec structure, is a list of one or more points that describes a single closed-polygon, as follows: A list with a single point describes a rectangle with one corner at the origin of the shape (0,0) and the opposite corner at the specified point. A list of two points describes a rectangle with one corner at the position specified by the first point and the opposite corner at the position specified by the second point. A list of three or more points describes an arbitrary polygon. If necessary, the polygon is automatically closed by connecting the last point in the list with the first. A nonzero value for the corner_radius field specifies that the corners of the polygon should be drawn as circles with the specified radius. All points in an outline are specified relative to the origin of the enclosing shape. Points in an outline may have negative values for the X and Y coordinate. One outline is the primary outline; a keyboard display application can generate a simple but still accurate keyboard image by displaying only the primary outlines for each shape. The default primary outline is the first in a shape’s list of outlines. If the primary field of the XkbShapeRec structure is not NULL , it points to the primary outline. A rectangular approximation must be included for nonrectangular keys as one of the outlines associated with the shape; the approximation is not normally displayed but can be used by very simple keyboard display applications to generate a recognizable but degraded image of the keyboard. Sections As previously noted, a keyboard is subdivided into sections of related keys. Each section has its own coordinate system — if a section is rotated, the coordinates of any components within the section are interpreted relative to the edges that were on the top and left before rotation. The components that make up a section, stored in a XkbSectionRec , include: An arbitrary name of type Atom. A priority, to indicate drawing order. 0 is the highest priority, 255 the lowest. Origin of the section, relative to the origin of the keyboard. The width and height and the angle of rotation. A list of rows . A row is a list of horizontally or vertically adjacent keys. Horizontal rows parallel the (prerotation) top of the section, and vertical rows parallel the (prerotation) left of the section. All keys in a horizontal row share a common top coordinate; all keys in a vertical row share a left coordinate. Figure 13.3 shows the alpha section from the keyboard shown in Figure 13.2, divided into rows. Rows and keys are defined below. Rows in a Section An optional list of doodads ; any type of doodad can be enclosed within a section. Position and angle of rotation are relative to the origin and angle of rotation of the sections that contain them. Priority for doodads in a section is relative to the other components of the section, not to the keyboard as a whole. An optional overlay with a name of type Atom and a list of overlay rows (described below). Bounds (two x and y coordinates) that describe the corners of a rectangle containing the entire section. Rows and Keys A row description ( XkbRowRec ) consists of the coordinates of its origin relative to its enclosing section, a flag indicating whether the row is horizontal or vertical, and a list of keys in the row. A key description ( XkbKeyRec ) consists of a key name, a shape, a key color, and a gap. The key name should correspond to one of the keys named in the keyboard names description, the shape specifies the appearance of the key, and the key color specifies the color of the key (not the label on the key; the label color is stored in the XkbGeometryRec ). Keys are normally drawn immediately adjacent to one another from left to right (or top to bottom) within a row. The gap field specifies the distance between a key and its predecessor. Doodads Doodads can be global to the keyboard or part of a section. Doodads have symbolic names of arbitrary length. The only doodad name whose interpretation is specified by Xkb is "Edges", which, if present, describes the outline of the entire keyboard. Each doodad’s origin is stored in fields named left and top , which are the coordinates of the doodad’s origin relative to its enclosing object, whether it be a section or the top-level keyboard. The priority for doodads that are listed in the top-level geometry is relative to the other doodads listed in the top-level geometry and the sections listed in the top-level geometry. The priority for doodads listed in a section are relative to the other components of the section. Each doodad is stored in a structure with a type field, which specifies the type of doodad. Xkb supports five types of doodads: An indicator doodad describes one of the physical keyboard indicators. Indicator doodads specify the shape of the indicator, the indicator color when it is lit ( on_color ) and the indicator color when it is dark ( off_color ). An outline doodad describes some aspect of the keyboard to be drawn as one or more hollow, closed polygons. Outline doodads specify the shape, color, and angle of rotation about the doodad origin at which they should be drawn. A solid doodad describes some aspect of the keyboard to be drawn as one or more filled polygons. Solid doodads specify the shape, color, and angle of rotation about the doodad origin at which they should be drawn. A text doodad describes a text label somewhere on the keyboard. Text doodads specify the label string, the font and color to use when drawing the label, and the angle of rotation of the doodad about its origin. A logo doodad is a catch-all, which describes some other visible element of the keyboard. A logo doodad is essentially an outline doodad with an additional symbolic name that describes the element to be drawn. If a keyboard display program recognizes the symbolic name, it can draw something appropriate within the bounding region of the shape specified in the doodad. If the symbolic name does not describe a recognizable image, it should draw an outline using the specified shape, outline, and angle of rotation. The Xkb extension does not specify the interpretation of logo names. The structures these doodads are stored in and the values of the type fields are shown in Table 13.1. Doodad Types Doodad Structure Type indicator doodad XkbIndicatorDoodadRec XkbIndicatorDoodad outline doodad XkbShapeDoodadRec XkbOutlineDoodad solid doodad XkbShapeDoodadRec XkbSolidDoodad text doodad XkbTextDoodadRec XkbTextDoodad logo doodad XkbLogoDoodadRec XkbLogoDoodad
Overlay Rows and Overlay Keys An overlay row ( XkbOverlayRowRec ) contains a pointer to the row it overlays and a list of overlay keys . Each overlay key definition ( XkbOverlayKeyRec ) indicates a key that can yield multiple keycodes and consists of a field named under , which specifies the primary name of the key and a field named over , which specifies the name for the key when the overlay keycode is selected. The key specified in under must be a member of the section that contains the overlay key definition, while the key specified in over must not be. Drawing a Keyboard Representation To draw a representation of the keyboard, draw in the following order: Draw the top-level keyboard as a rectangle, using its width and height. For each component (section or doodad) of the top-level geometry, in priority order: If component is a section For each row, in the order it appears in the section Draw keys in the order they appear in the row Draw doodads within the section in priority order. Else draw doodad Geometry Data Structures In the following figures, a solid arrow denotes a pointer to an array of structures or a singleton structure. A dotted arrow denotes an index or a pointer into the array. Xkb Geometry Data Structures Xkb Geometry Data Structures (Doodads) Xkb Geometry Data Structures (Overlays) typedef struct _XkbGeometry { /* top-level keyboard geometry structure */ Atom name; /* keyboard name */ unsigned short width_mm; /* keyboard width in mm / 10 */ unsigned short height_mm; /* keyboard height in mm / 10 */ char * label_font; /* font for key labels */ XkbColorPtr label_color; /* color for key labels - pointer into colors array */ XkbColorPtr base_color; /* color for basic keyboard - pointer into colors array */ unsigned short sz_properties; /* size of properties array */ unsigned short sz_colors; /* size of colors array */ unsigned short sz_shapes; /* size of shapes array */ unsigned short sz_sections; /* size of sections array */ unsigned short sz_doodads; /* size of doodads array */ unsigned short sz_key_aliases; /* size of key aliases array */ unsigned short num_properties; /* number of properties in the properties array */ unsigned short num_colors; /* number of colors in the colors array */ unsigned short num_shapes; /* number of shapes in the shapes array */ unsigned short num_sections; /* number of sections in the sections array */ unsigned short num_doodads; /* number of doodads in the doodads array */ unsigned short num_key_aliases; /* number of key aliases in the key */ XkbPropertyPtr properties; /* properties array */ XkbColorPtr colors; /* colors array */ XkbShapePtr shapes; /* shapes array */ XkbSectionPtr sections; /* sections array */ XkbDoodadPtr doodads; /* doodads array */ XkbKeyAliasPtr key_aliases; /* key aliases array */ } XkbGeometryRec*XkbGeometryPtr; The doodads array is only for doodads not contained in any of the sections that has its own doodads . The key aliases contained in the key_aliases array take precedence over any defined in the keycodes component of the keyboard description. typedef struct _XkbProperty { char * name; /* property name */ char * value; /* property value */ } XkbPropertyRec,*XkbPropertyPtr; typedef struct _XkbColor { unsigned int pixel; /* color */ char * spec; /* color name */ } XkbColorRec,*XkbColorPtr; typedef struct _XkbKeyAliasRec { char real[XkbKeyNameLength]; /* real name of the key */ char alias[XkbKeyNameLength]; /* alias for the key */ } XkbKeyAliasRec,*XkbKeyAliasPtr; typedef struct _XkbPoint { /* x,y coordinates */ short x; short y; } XkbPointRec, *XkbPointPtr; typedef struct _XkbOutline { unsigned short num_points; /* number of points in the outline */ unsigned short sz_points; /* size of the points array */ unsigned short corner_radius; /* draw corners as circles with this radius */ XkbPointPtr points; /* array of points defining the outline */ } XkbOutlineRec, *XkbOutlinePtr; typedef struct _XkbBounds { short x1,y1; /* upper left corner of the bounds, in mm/10 */ short x2,y2; /* lower right corner of the bounds, in mm/10 */ } XkbBoundsRec, *XkbBoundsPtr; typedef struct _XkbShape { Atom name; /* shape’s name */ unsigned short num_outlines; /* number of outlines for the shape */ unsigned short sz_outlines; /* size of the outlines array */ XkbOutlinePtr outlines; /* array of outlines for the shape */ XkbOutlinePtr approx; /* pointer into the array to the approximating outline */ XkbOutlinePtr primary; /* pointer into the array to the primary outline */ XkbBoundsRec bounds; /* bounding box for the shape; encompasses all outlines */ } XkbShapeRec, *XkbShapePtr; If approx and/or primary is NULL , the default value is used. The default primary outline is the first element in the outlines array, as is the default approximating outline. typedef struct _XkbKey { /* key in a row */ XkbKeyNameRec name; /* key name */ short gap; /* gap in mm/10 from previous key in row */ unsigned char shape_ndx; /* index of shape for key */ unsigned char color_ndx; /* index of color for key body */ } XkbKeyRec, *XkbKeyPtr; typedef struct _XkbRow { /* row in a section */ short top; /* top coordinate of row origin, relative to section’s origin */ short left; /* left coordinate of row origin, relative to section’s origin */ unsigned short num_keys; /* number of keys in the keys array */ unsigned short sz_keys; /* size of the keys array */ int vertical; /* True =>vertical row, False =>horizontal row */ XkbKeyPtr keys; /* array of keys in the row*/ XkbBoundsRec bounds; /* bounding box for the row */ } XkbRowRec, *XkbRowPtr; top and left are in mm / 10 . typedef struct _XkbOverlayRec { Atom name; /* overlay name */ XkbSectionPtr section_under; /* the section under this overlay */ unsigned short num_rows; /* number of rows in the rows array */ unsigned short sz_rows; /* size of the rows array */ XkbOverlayRowPtr rows; /* array of rows in the overlay */ XkbBoundsPtr bounds; /* bounding box for the overlay */ } XkbOverlayRec,*XkbOverlayPtr; typedef struct _XkbOverlayRow { unsigned short row_under; /* index into the row under this overlay row */ unsigned short num_keys; /* number of keys in the keys array */ unsigned short sz_keys; /* size of the keys array */ XkbOverlayKeyPtr keys; /* array of keys in the overlay row */ } XkbOverlayRowRec,*XkbOverlayRowPtr; row_under is an index into the array of rows in the section under this overlay. The section under this overlay row is the one pointed to by section_under in this overlay row’s XkbOverlayRec . typedef struct _XkbOverlayKey { XkbKeyNameRec over; /* name of this overlay key */ XkbKeyNameRec under; /* name of the key under this overlay key */ } XkbOverlayKeyRec,*XkbOverlayKeyPtr; typedef struct _XkbSection { Atom name; /* section name */ unsigned char priority; /* drawing priority, 0=>highest, 255=>lowest */ short top; /* top coordinate of section origin */ short left; /* left coordinate of row origin */ unsigned short width; /* section width, in mm/10 */ unsigned short height; /* section height, in mm/10 */ short angle; /* angle of section rotation, counterclockwise */ unsigned short num_rows; /* number of rows in the rows array */ unsigned short num_doodads; /* number of doodads in the doodads array */ unsigned short num_overlays; /* number of overlays in the overlays array */ unsigned short sz_rows; /* size of the rows array */ unsigned short sz_doodads; /* size of the doodads array */ unsigned short sz_overlays; /* size of the overlays array */ XkbRowPtr rows; /* section rows array */ XkbDoodadPtr doodads; /* section doodads array */ XkbBoundsRec bounds; /* bounding box for the section, before rotation*/ XkbOverlayPtr overlays; /* section overlays array */ } XkbSectionRec, *XkbSectionPtr; top and left are the origin of the section, relative to the origin of the keyboard, in mm / 10 . angle is in 1 / 10 degrees. DoodadRec Structures The doodad arrays in the XkbGeometryRec and the XkbSectionRec may contain any of the doodad structures and types shown in Table 13.1. The doodad structures form a union: typedef union _XkbDoodad { XkbAnyDoodadRec any; XkbShapeDoodadRec shape; XkbTextDoodadRec text; XkbIndicatorDoodadRec indicator; XkbLogoDoodadRec logo; } XkbDoodadRec, *XkbDoodadPtr; The top and left coordinates of each doodad are the coordinates of the origin of the doodad relative to the keyboard’s origin if the doodad is in the XkbGeometryRec doodad array, and with respect to the section’s origin if the doodad is in a XkbSectionRec doodad array. The color_ndx or on_color_ndx and off_color_ndx fields are color indices into the XkbGeometryRec ’s color array and are the colors to draw the doodads with. Similarly, the shape_ndx fields are indices into the XkbGeometryRec ’s shape array. typedef struct _XkbShapeDoodad { Atom name; /* doodad name */ unsigned char type; /* XkbOutlineDoodad or XkbSolidDoodad */ unsigned char priority; /* drawing priority, 0=>highest, 255=>lowest */ short top; /* top coordinate, in mm/10 */ short left; /* left coordinate, in mm/10 */ short angle; /* angle of rotation, clockwise, in 1/10 degrees */ unsigned short color_ndx; /* doodad color */ unsigned short shape_ndx; /* doodad shape */ } XkbShapeDoodadRec, *XkbShapeDoodadPtr; typedef struct _XkbTextDoodad { Atom name; /* doodad name */ unsigned char type; /* XkbTextDoodad */ unsigned char priority; /* drawing priority, 0=>highest, 255=>lowest */ short top; /* top coordinate, in mm/10 */ short left; /* left coordinate, in mm/10 */ short angle; /* angle of rotation, clockwise, in 1/10 degrees */ short width; /* width in mm/10 */ short height; /* height in mm/10 */ unsigned short color_ndx; /* doodad color */ char * text; /* doodad text */ char * font; /* arbitrary font name for doodad text */ } XkbTextDoodadRec, *XkbTextDoodadPtr; typedef struct _XkbIndicatorDoodad { Atom name; /* doodad name */ unsigned char type; /* XkbIndicatorDoodad */ unsigned char priority; /* drawing priority, 0=>highest, 255=>lowest */ short top; /* top coordinate, in mm/10 */ short left; /* left coordinate, in mm/10 */ short angle; /* angle of rotation, clockwise, in 1/10 degrees */ unsigned short shape_ndx; /* doodad shape */ unsigned short on_color_ndx; /* color for doodad if indicator is on */ unsigned short off_color_ndx; /* color for doodad if indicator is off */ } XkbIndicatorDoodadRec, *XkbIndicatorDoodadPtr; typedef struct _XkbLogoDoodad { Atom name; /* doodad name */ unsigned char type; /* XkbLogoDoodad */ unsigned char priority; /* drawing priority, 0=>highest, 255=>lowest */ short top; /* top coordinate, in mm/10 */ short left; /* left coordinate, in mm/10 */ short angle; /* angle of rotation, clockwise, in 1/10 degrees */ unsigned short color_ndx; /* doodad color */ unsigned short shape_ndx; /* doodad shape */ char * logo_name; /* text for logo */ } XkbLogoDoodadRec, *XkbLogoDoodadPtr Getting Keyboard Geometry From the Server You can load a keyboard geometry as part of the keyboard description returned by XkbGetKeyboard . However, if a keyboard description has been previously loaded, you can instead obtain the geometry by calling the XkbGetGeometry . In this case, the geometry returned is the one associated with the keyboard whose device ID is contained in the keyboard description. To load a keyboard geometry if you already have the keyboard description, use XkbGetGeometry. Status XkbGetGeometry ( dpy , xkb ) Display * dpy ; /* connection to the X server */ XkbDescPtr xkb ; /* keyboard description that contains the ID for the keyboard and into which the geometry should be loaded */ XkbGetGeometry can return BadValue , BadImplementation , BadName , BadAlloc, or BadLength errors or Success if it succeeds. It is also possible to load a keyboard geometry by name. The X server maintains a database of keyboard components (see Chapter 20). To load a keyboard geometry description from this database by name, use XkbGetNamedGeometry. Status XkbGetNamedGeometry ( dpy , xkb , name ) Display * dpy ; /* connection to the X server */ XkbDescPtr xkb ; /* keyboard description into which the geometry should be loaded */ Atom name ; /* name of the geometry to be loaded */ XkbGetNamedGeometry can return BadName if the name cannot be found. Using Keyboard Geometry Xkb provides a number of convenience functions to help use a keyboard geometry. These include functions to return the bounding box of a shape’s top surface and to update the bounding box of a shape row or section. A shape is made up of a number of outlines. Each outline is a polygon made up of a number of points. The bounding box of a shape is a rectangle that contains all the outlines of that shape. Key Surface, Shape Outlines, and Bounding Box To determine the bounding box of the top surface of a shape, use XkbComputeShapeTop. Bool XkbComputeShapeTop ( shape , bounds_rtrn ) XkbShapePtr shape ; /* shape to be examined */ XkbBoundsPtr bounds_rtrn /* backfilled with the bounding box for the shape */ XkbComputeShapeTop returns a BoundsRec that contains two x and y coordinates. These coordinates describe the corners of a rectangle that contains the outline that describes the top surface of the shape. The top surface is defined to be the approximating outline if the approx field of shape is not NULL . If approx is NULL , the top surface is defined as the last outline in the shape ’s array of outlines. XkbComputeShapeTop returns False if shape is NULL or if there are no outlines for the shape; otherwise, it returns True. A ShapeRec contains a BoundsRec that describes the bounds of the shape. If you add or delete an outline to or from a shape, the bounding box must be updated. To update the bounding box of a shape, use XkbComputeShapeBounds. Bool XkbComputeShapeBounds ( shape ) XkbShapePtr shape ; /* shape to be examined */ XkbComputeShapeBounds updates the BoundsRec contained in the shape by examining all the outlines of the shape and setting the BoundsRec to the minimum x and minimum y, and maximum x and maximum y values found in those outlines. XkbComputeShapeBounds returns False if shape is NULL or if there are no outlines for the shape; otherwise, it returns True . If you add or delete a key to or from a row, or if you update the shape of one of the keys in that row, you may need to update the bounding box of that row. To update the bounding box of a row, use XkbComputeRowBounds. Bool XkbComputeRowBounds ( geom , section , row ) XkbGeometryPtr geom ; /* geometry that contains the section */ XkbSectionPtr section ; /* section that contains the row */ XkbRowPtr row ; /* row to be examined and updated */ XkbComputeRowBounds checks the bounds of all keys in the row and updates the bounding box of the row if necessary. XkbComputeRowBounds returns False if any of the arguments is NULL ; otherwise, it returns True . If you add or delete a row to or from a section, or if you change the geometry of any of the rows in that section, you may need to update the bounding box for that section. To update the bounding box of a section, use XkbComputeSectionBounds. Bool XkbComputeSectionBounds ( geom , section ) XkbGeometryPtr geom ; /* geometry that contains the section */ XkbSectionPtr section ; /* section to be examined and updated */ XkbComputeSectionBounds examines all the rows of the section and updates the bounding box of that section so that it contains all rows. XkbComputeSectionBounds returns False if any of the arguments is NULL ; otherwise, it returns True . Keys that can generate multiple keycodes may be associated with multiple names. Such keys have a primary name and an alternate name. To find the alternate name by using the primary name for a key that is part of an overlay, use XkbFindOverlayForKey. char * XkbFindOverlayForKey ( geom , section , under ) XkbGeometryPtr geom ; /* geometry that contains the section */ XkbSectionPtr section ; /* section to be searched for matching keys */ char * under . /* primary name of the key to be considered */ XkbFindOverlayForKey uses the primary name of the key, under , to look up the alternate name, which it returns. Adding Elements to a Keyboard Geometry Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is incremented by 1. These functions do not change sz_ * unless there is no more room in the array. Some of these functions fill in the values of the element’s structure from the arguments. For other functions, you must explicitly write code to fill the structure’s elements. The top-level geometry description includes a list of geometry properties . A geometry property associates an arbitrary string with an equally arbitrary name. Programs that display images of keyboards can use geometry properties as hints, but they are not interpreted by Xkb. No other geometry structures refer to geometry properties. To add one property to an existing keyboard geometry description, use XkbAddGeomProperty . XkbPropertyPtr XkbAddGeomProperty ( geom , name , value ) XkbGeometryPtr geom ; /* geometry to be updated */ char * name ; /* name of the new property */ char * value ; /* value for the new property */ XkbAddGeomProperty adds one property with the specified name and value to the keyboard geometry specified by geom. XkbAddGeomProperty returns NULL if any of the parameters is empty or if it was not able to allocate space for the property. To allocate space for an arbitrary number of properties, use the XkbAllocGeomProps function. To add one key alias to an existing keyboard geometry description, use XkbAddGeomKeyAlias . XkbKeyAliasPtr XkbAddGeomKeyAlias ( geom , alias, real ) XkbGeometryPtr geom ; /* geometry to be updated */ char * alias ; /* alias to be added */ char * real ; /* real name to be bound to the new alias */ XkbAddGeomKeyAlias adds one key alias with the value alias to the geometry geom, and associates it with the key whose real name is real. XkbAddGeomKeyAlias returns NULL if any of the parameters is empty or if it was not able to allocate space for the alias. To allocate space for an arbitrary number of aliases, use the XkbAllocGeomKeyAliases function. To add one color name to an existing keyboard geometry description, use XkbAddGeomColor . XkbColorPtr XkbAddGeomColor ( geom , spec , pixel ) XkbGeometryPtr geom ; /* geometry to be updated */ char * spec ; /* color to be added */ unsigned int pixel ; /* color to be added */ XkbAddGeomColor adds the specified color name and pixel to the specified geometry geom . The top-level geometry description includes a list of up to MaxColors (32) color names . A color name is a string whose interpretation is not specified by Xkb and neither is the pixel value’s interpretation. All other geometry data structures refer to colors using their indices in this global list or pointers to colors in this list. XkbAddGeomColor returns NULL if any of the parameters is empty or if it was not able to allocate space for the color. To allocate space for an arbitrary number of colors to a geometry, use the XkbAllocGeomColors function. To add one outline to an existing shape, use XkbAddGeomOutline. XkbOutlinePtr XkbAddGeomOutline ( shape , sz_points ) XkbShapePtr shape ; /* shape to be updated */ int sz_points ; /* number of points to be reserved */ An outline consists of an arbitrary number of points. XkbAddGeomOutline adds an outline to the specified shape by reserving sz_points points for it. The new outline is allocated and zeroed. XkbAddGeomOutline returns NULL if any of the parameters is empty or if it was not able to allocate space. To allocate space for an arbitrary number of outlines to a shape, use XkbAllocGeomOutlines. To add a shape to a keyboard geometry, use XkbAddGeomShape . XkbShapePtr XkbAddGeomShape ( geom , name , sz_outlines ) XkbGeometryPtr geom ; /* geometry to be updated */ Atom name ; /* name of the new shape */ int sz_outlines ; /* number of outlines to be reserved */ A geometry contains an arbitrary number of shapes, each of which is made up of an arbitrary number of outlines. XkbAddGeomShape adds a shape to a geometry geom by allocating space for sz_outlines outlines for it and giving it the name specified by name. If a shape with name name already exists in the geometry, a pointer to the existing shape is returned. XkbAddGeomShape returns NULL if any of the parameters is empty or if it was not able to allocate space. To allocate space for an arbitrary number of geometry shapes, use XkbAllocGeomShapes . To add one key at the end of an existing row of keys, use XkbAddGeomKey . XkbKeyPtr XkbAddGeomKey ( row ) XkbRowPtr row ; /* row to be updated */ Keys are grouped into rows. XkbAddGeomKey adds one key to the end of the specified row . The key is allocated and zeroed. XkbAddGeomKey returns NULL if row is empty or if it was not able to allocate space for the key. To allocate space for an arbitrary number of keys to a row, use XkbAllocGeomKeys. To add one section to an existing keyboard geometry, use XkbAddGeomSection . XkbSectionPtr XkbAddGeomSection ( geom , name , sz_rows , sz_doodads , sz_overlays ) XkbGeometryPtr geom ; /* geometry to be updated */ Atom name ; /* name of the new section */ int sz_rows ; /* number of rows to reserve in the section */ int sz_doodads ; /* number of doodads to reserve in the section */ int sz_overlays ; /* number of overlays to reserve in the section */ A keyboard geometry contains an arbitrary number of sections. XkbAddGeomSection adds one section to an existing keyboard geometry geom . The new section contains space for the number of rows, doodads, and overlays specified by sz_rows , sz_doodads , and sz_overlays . The new section is allocated and zeroed and given the name specified by name . If a section with name name already exists in the geometry, a pointer to the existing section is returned. XkbAddGeomSection returns NULL if any of the parameters is empty or if it was not able to allocate space for the section. To allocate space for an arbitrary number of sections to a geometry, use XkbAllocGeomSections. To add a row to a section, use XkbAddGeomRow . XkbRowPtr XkbAddGeomRow ( section , sz_keys ) XkbSectionPtr section ; /* section to be updated */ int sz_keys ; /* number of keys to be reserved */ One of the components of a keyboard geometry section is one or more rows of keys. XkbAddGeomRow adds one row to the specified section . The newly created row contains space for the number of keys specified in sz_keys . They are allocated and zeroed, but otherwise uninitialized. XkbAddGeomRow returns NULL if any of the parameters is empty or if it was not able to allocate space for the row. To allocate space for an arbitrary number of rows to a section, use the XkbAllocGeomRows function. To add one doodad to a section of a keyboard geometry or to the top-level geometry, use XkbAddGeomDoodad . XkbDoodadPtr XkbAddGeomDoodad ( geom , section , name ) XkbGeometryPtr geom ; /* geometry to which the doodad is added */ XkbSectionPtr section ; /* section, if any, to which the doodad is added */ Atom name ; /* name of the new doodad */ A doodad describes some visible aspect of the keyboard that is not a key and is not a section. XkbAddGeomDoodad adds a doodad with name specified by name to the geometry geom if section is NULL or to the section of the geometry specified by section if section is not NULL . XkbAddGeomDoodad returns NULL if any of the parameters is empty or if it was not able to allocate space for the doodad. If there is already a doodad with the name name in the doodad array for the geometry (if section is NULL ) or the section (if section is non- NULL ), a pointer to that doodad is returned. To allocate space for an arbitrary number of doodads to a section, use the XkbAllocGeomSectionDoodads function. To allocate space for an arbitrary number of doodads to a keyboard geometry, use the XkbAllocGeomDoodads function. To add one overlay to a section, use XkbAddGeomOverlay . XkbOverlayPtr XkbAddGeomOverlay ( section , name , sz_rows ) XkbSectionPtr section ; /* section to which an overlay will be added */ Atom name ; /* name of the overlay */ int sz_rows ; /* number of rows to reserve in the overlay */ XkbAddGeomOverlay adds an overlay with the specified name to the specified section . The new overlay is created with space allocated for sz_rows rows. If an overlay with name name already exists in the section, a pointer to the existing overlay is returned. XkbAddGeomOverlay returns NULL if any of the parameters is empty or if it was not able to allocate space for the overlay. To allocate space for an arbitrary number of overlays to a section, use the XkbAllocGeomOverlay function. To add a row to an existing overlay, use XkbAddGeomOverlayRow . XkbOverlayRowPtr XkbAddGeomOverlayRow ( overlay , row_under, sz_keys ) XkbOverlayPtr overlay ; /* overlay to be updated */ XkbRowPtr row_under ; /* row to be overlayed in the section overlay overlays */ int sz_keys ; /* number of keys to reserve in the row */ XkbAddGeomOverlayRow adds one row to the overlay . The new row contains space for sz_keys keys. If row_under specifies a row that doesn’t exist on the underlying section, XkbAddGeomOverlayRow returns NULL and doesn’t change the overlay. XkbAddGeomOverlayRow returns NULL if any of the parameters is empty or if it was not able to allocate space for the overlay. To add a key to an existing overlay row, use XkbAddGeomOverlayKey . XkbOverlayKeyPtr XkbAddGeomOverlayKey ( overlay , row, under ) XkbOverlayPtr overlay ; /* overlay to be updated */ XkbRowPtr row ; /* row in overlay to be updated */ char * under ; /* primary name of the key to be considered */ XkbAddGeomOverlayKey adds one key to the row in the overlay . If there is no key named under in the row of the underlying section, XkbAddGeomOverlayKey returns NULL . Allocating and Freeing Geometry Components Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note that these functions merely allocate space for the new element(s), and it is up to you to fill in the values explicitly in your code. These allocation functions increase sz_ * but never touch num_ * (unless there is an allocation failure, in which case they reset both sz_ * and num_ * to zero). These functions return Success if they succeed, BadAlloc if they are not able to allocate space, or BadValue if a parameter is not as expected. To allocate space for an arbitrary number of outlines to a shape, use XkbAllocGeomOutlines. Status XkbAllocGeomOutlines ( shape , num_needed ) XkbShapePtr shape ; /* shape for which outlines should be allocated */ int num_needed ; /* number of new outlines required */ XkbAllocGeomOutlines allocates space for num_needed outlines in the specified shape . The outlines are not initialized. To free geometry outlines, use XkbFreeGeomOutlines . void XkbFreeGeomOutlines ( shape , first , count , free_all ) XkbShapePtr shape ; /* shape in which outlines should be freed */ int first ; /* first outline to be freed */ int count ; /* number of outlines to be freed */ Bool free_all; /* True => all outlines are freed */ If free_all is True , all outlines are freed regardless of the value of first or count. Otherwise, count outlines are freed beginning with the one specified by first. To allocate space for an arbitrary number of keys to a row, use XkbAllocGeomKeys. Status XkbAllocGeomKeys ( row , num_needed ) XkbRowPtr row ; /* row to which keys should be allocated */ int num_needed ; /* number of new keys required */ XkbAllocGeomKeys allocates num_needed keys and adds them to the row. No initialization of the keys is done. To free geometry keys, use XkbFreeGeomKeys . void XkbFreeGeomKeys ( row , first , count , free_all ) XkbRowPtr row ; /* row in which keys should be freed */ int first ; /* first key to be freed */ int count ; /* number of keys to be freed */ Bool free_all; /* True => all keys are freed */ If free_all is True , all keys are freed regardless of the value of first or count. Otherwise, count keys are freed beginning with the one specified by first. To allocate geometry properties, use XkbAllocGeomProps . Status XkbAllocGeomProps ( geom , num_needed ) XkbGeometryPtr geom ; /* geometry for which properties should be allocated */ int num_needed ; /* number of new properties required */ XkbAllocGeomProps allocates space for num_needed properties and adds them to the specified geometry geom . No initialization of the properties is done. A geometry property associates an arbitrary string with an equally arbitrary name. Geometry properties can be used to provide hints to programs that display images of keyboards, but they are not interpreted by Xkb. No other geometry structures refer to geometry properties. To free geometry properties, use XkbFreeGeomProperties . void XkbFreeGeomProperties ( geom , first , count , free_all ) XkbGeometryPtr geom ; /* geometry in which properties should be freed */ int first ; /* first property to be freed */ int count ; /* number of properties to be freed */ Bool free_all; /* True => all properties are freed */ If free_all is True , all properties are freed regardless of the value of first or count. Otherwise, count properties are freed beginning with the one specified by first. To allocate geometry key aliases, use XkbAllocGeomKeyAliases . Status XkbAllocGeomKeyAliases ( geom , num_needed ) XkbGeometryPtr geom ; /* geometry for which key aliases should be allocated */ int num_needed ; /* number of new key aliases required */ XkbAllocGeomKeyAliases allocates space for num_needed key aliases and adds them to the specified geometry geom . A key alias is a pair of strings that associates an alternate name for a key with the real name for that key. To free geometry key aliases, use XkbFreeGeomKeyAliases . void XkbFreeGeomKeyAliases ( geom , first , count , free_all ) XkbGeometryPtr geom ; /* geometry in which key aliases should be freed */ int first ; /* first key alias to be freed */ int count ; /* number of key aliases to be freed */ Bool free_all; /* True => all key aliases are freed */ If free_all is True , all aliases in the top level of the specified geometry geom are freed regardless of the value of first or count. Otherwise, count aliases in geom are freed beginning with the one specified by first. To allocate geometry colors, use XkbAllocGeomColors . Status XkbAllocGeomColors ( geom , num_needed ) XkbGeometryPtr geom ; /* geometry for which colors should be allocated */ int num_needed ; /* number of new colors required. */ XkbAllocGeomColors allocates space for num_needed colors and adds them to the specified geometry geom . A color name is a string whose interpretation is not specified by Xkb. All other geometry data structures refer to colors using their indices in this global list or pointers to colors in this list. To free geometry colors, use XkbFreeGeomColors . void XkbFreeGeomColors ( geom , first , count , free_all ) XkbGeometryPtr geom ; /* geometry in which colors should be freed */ int first ; /* first color to be freed */ int count ; /* number of colors to be freed */ Bool free_all; /* True => all colors are freed */ If free_all is True , all colors are freed regardless of the value of first or count. Otherwise, count colors are freed beginning with the one specified by first. To allocate points in an outline, use XkbAllocGeomPoints . Status XkbAllocGeomPoints ( outline , num_needed ) XkbOutlinePtr outline ; /* outline for which points should be allocated */ int num_needed ; /* number of new points required */ XkbAllocGeomPoints allocates space for num_needed points in the specified outline . The points are not initialized. To free points in a outline, use XkbFreeGeomPoints . void XkbFreeGeomPoints ( outline , first , count , free_all ) XkbOutlinePtr outline ; /* outline in which points should be freed */ int first ; /* first point to be freed. */ int count ; /* number of points to be freed */ Bool free_all; /* True => all points are freed */ If free_all is True , all points are freed regardless of the value of first and count. Otherwise, the number of points specified by count are freed, beginning with the point specified by first in the specified outline. To allocate space for an arbitrary number of geometry shapes, use XkbAllocGeomShapes . Status XkbAllocGeomShapes ( geom , num_needed ) XkbGeometryPtr geom ; /* geometry for which shapes should be allocated */ int num_needed ; /* number of new shapes required */ XkbAllocGeomShapes allocates space for num_needed shapes in the specified geometry geom . The shapes are not initialized. To free geometry shapes, use XkbFreeGeomShapes . void XkbFreeGeomShapes ( geom , first , count , f ree_all ) XkbGeometryPtr geom ; /* geometry in which shapes should be freed */ int first ; /* first shape to be freed */ int count ; /* number of shapes to be freed */ Bool free_all; /* True => all shapes are freed */ If free_all is True , all shapes in the geometry are freed regardless of the values of first and count. Otherwise, count shapes are freed, beginning with the shape specified by first. To allocate geometry sections, use XkbAllocGeomSections . Status XkbAllocGeomSections ( geom , num_needed ) XkbGeometryPtr geom ; /*geometry for which sections should be allocated */ int num_needed ; /* number of new sections required */ XkbAllocGeomSections allocates num_needed sections and adds them to the geometry geom. No initialization of the sections is done. To free geometry sections, use XkbFreeGeomSections . void XkbFreeGeomSections ( geom , first , count , free_all ) XkbGeometryPtr geom ; /* geometry in which sections should be freed */ int first ; /* first section to be freed. */ int count ; /* number of sections to be freed */ Bool free_all; /* True => all sections are freed */ If free_all is True , all sections are freed regardless of the value of first and count. Otherwise, the number of sections specified by count are freed, beginning with the section specified by first in the specified geometry. To allocate rows in a section, use XkbAllocGeomRows . Status XkbAllocGeomRows ( section , num_needed ) XkbSectionPtr section ; /* section for which rows should be allocated */ int num_needed ; /* number of new rows required */ XkbAllocGeomRows allocates num_needed rows and adds them to the section. No initialization of the rows is done. To free rows in a section, use XkbFreeGeomRows . void XkbFreeGeomRows ( section , first , count , free_all ) XkbSectionPtr section ; /* section in which rows should be freed */ int first ; /* first row to be freed. */ int count ; /* number of rows to be freed */ Bool free_all; /* True => all rows are freed */ If free_all is True , all rows are freed regardless of the value of first and count. Otherwise, the number of rows specified by count are freed, beginning with the row specified by first in the specified section. To allocate overlays in a section, use XkbAllocGeomOverlays . Status XkbAllocGeomOverlays ( section , num_needed ) XkbSectionPtr section ; /* section for which overlays should be allocated */ int num_needed ; /* number of new overlays required */ XkbAllocGeomRows allocates num_needed overlays and adds them to the section. No initialization of the overlays is done. To free rows in an section, use XkbFreeGeomOverlays . void XkbFreeGeomOverlays ( section , first , count , free_all ) XkbSectionPtr section ; /* section in which overlays should be freed */ int first ; /* first overlay to be freed. */ int count ; /* number of overlays to be freed */ Bool free_all; /* True => all overlays are freed */ If free_all is True , all overlays are freed regardless of the value of first and count. Otherwise, the number of overlays specified by count are freed, beginning with the overlay specified by first in the specified section. To allocate rows in a overlay, use XkbAllocGeomOverlayRows . Status XkbAllocGeomOverlayRows ( overlay , num_needed ) XkbSectionPtr overlay ; /* section for which rows should be allocated */ int num_needed ; /* number of new rows required */ XkbAllocGeomOverlayRows allocates num_needed rows and adds them to the overlay. No initialization of the rows is done. To free rows in an overlay, use XkbFreeGeomOverlayRows . void XkbFreeGeomOverlayRows ( overlay , first , count , free_all ) XkbSectionPtr overlay ; /* section in which rows should be freed */ int first ; /* first row to be freed. */ int count ; /* number of rows to be freed */ Bool free_all; /* True => all rows are freed */ If free_all is True , all rows are freed regardless of the value of first and count. Otherwise, the number of rows specified by count are freed, beginning with the row specified by first in the specified overlay. To allocate keys in an overlay row, use XkbAllocGeomOverlayKeys . Status XkbAllocGeomOverlayKeys ( row , num_needed ) XkbRowPtr row ; /* section for which rows should be allocated */ int num_needed ; /* number of new rows required */ XkbAllocGeomOverlayKeys allocates num_needed keys and adds them to the row. No initialization of the keys is done. To free keys in an overlay row, use XkbFreeGeomOverlayKeys . void XkbFreeGeomOverlayKeys ( row , first , count , free_all ) XkbRowPtr row ; /* row in which keys should be freed */ int first ; /* first key to be freed. */ int count ; /* number of keys to be freed */ Bool free_all; /* True => all keys are freed */ If free_all is True , all keys are freed regardless of the value of first and count. Otherwise, the number of keys specified by count are freed, beginning with the key specified by first in the specified row. To allocate doodads that are global to a keyboard geometry, use XkbAllocGeomDoodads . Status XkbAllocGeomDoodads ( geom , num_needed ) XkbGeometryPtr geom ; /* geometry for which doodads should be allocated */ int num_needed ; /* number of new doodads required */ XkbAllocGeomDoodads allocates num_needed doodads and adds them to the specified geometry geom . No initialization of the doodads is done. To allocate doodads that are specific to a section, use XkbAllocGeomSectionDoodads . Status XkbAllocGeomSectionDoodads ( section , num_needed ) XkbSectionPtr section ; /* section for which doodads should be allocated */ int num_needed ; /* number of new doodads required */ XkbAllocGeomSectionDoodads allocates num_needed doodads and adds them to the specified section . No initialization of the doodads is done. To free geometry doodads, use XkbFreeGeomDoodads . void XkbFreeGeomDoodads ( doodads , count , free_all ) XkbDoodadPtr doodads ; /* doodads to be freed */ int count ; /* number of doodads to be freed */ Bool free_all; /* True => all doodads are freed */ If free_all is True , all doodads in the array are freed, regardless of the value of count. Otherwise, count doodads are freed. To allocate an entire geometry, use XkbAllocGeometry . Status XkbAllocGeometry ( xkb , sizes ) XkbDescPtr xkb ; /* keyboard description for which geometry is to be allocated */ XkbGeometrySizesPtr sizes ; /* initial sizes for all geometry components */ XkbAllocGeometry allocates a keyboard geometry and adds it to the keyboard description specified by xkb. The keyboard description should be obtained via the XkbGetKeyboard or XkbAllockeyboard functions. The sizes parameter specifies the number of elements to be reserved for the subcomponents of the keyboard geometry and can be zero or more. These subcomponents include the properties, colors, shapes, sections, and doodads. To free an entire geometry, use XkbFreeGeometry . void XkbFreeGeometry ( geom , which , free_all ) XkbGeometryPtr geom ; /* geometry to be freed */ unsigned int which ; /* mask of geometry components to be freed */ Bool free_all; /* True => the entire geometry is freed. */ The values of which and free_all determine how much of the specified geometry is freed. The valid values for which are: #define XkbGeomPropertiesMask (1<<0) #define XkbGeomColorsMask (1<<1) #define XkbGeomShapesMask (1<<2) #define XkbGeomSectionsMask (1<<3) #define XkbGeomDoodadsMask (1<<4) #define XkbGeomAllMask (0x1f) If free_all is True , the entire geometry is freed regardless of the value of which. Otherwise, the portions of the geometry specified by which are freed.
@ 1.1.1.1 log @initial import of libX11-1.4.1: - remove support for building without XCB - many man page updates - many random bug fixes - several new nls aliases (need to enable these yet.) @ text @@ 1.1.1.2 log @initial import of libX11-1.5.99.902 @ text @d1 1 a1 1 d247 1 a247 1 d351 1 a351 1 d439 1 a439 1 d467 1 a467 1 d560 1 a560 1 d562 2 a563 5 d565 1 a565 1 d572 1 a572 1 d583 1 a583 1 d594 1 a594 1 d605 1 a605 1 d616 1 a616 1 d632 1 a632 1 d663 1 a663 1 d681 1 a681 1 d959 1 a959 1 d1074 1 a1074 1 d1094 2 a1095 3 d1097 1 a1097 1 d1108 1 a1108 1 d1115 1 a1115 1 d1153 2 a1154 3 d1156 1 a1156 1 d1169 1 a1169 1 d1176 1 a1176 1 d1183 1 a1183 1 d1205 1 a1205 1 d1238 2 a1239 3 d1241 1 a1241 1 d1252 1 a1252 1 d1259 1 a1259 1 d1315 2 a1316 3 d1318 1 a1318 1 d1327 1 a1327 1 d1368 2 a1369 3 d1371 1 a1371 1 d1384 1 a1384 1 d1393 1 a1393 1 d1400 1 a1400 1 d1435 2 a1436 3 d1438 1 a1438 1 d1449 1 a1449 1 d1458 1 a1458 1 d1494 2 a1495 3 d1497 1 a1497 1 d1510 1 a1510 1 d1519 1 a1519 1 d1526 1 a1526 1 d1547 1 a1547 1 d1584 2 a1585 3 d1587 1 a1587 1 d1600 1 a1600 1 d1607 1 a1607 1 d1614 1 a1614 1 d1653 2 a1654 3 d1656 1 a1656 1 d1667 1 a1667 1 d1674 1 a1674 1 d1681 1 a1681 1 d1715 2 a1716 3 d1718 1 a1718 1 d1731 1 a1731 1 d1738 1 a1738 1 d1745 1 a1745 1 d1793 2 a1794 3 d1796 1 a1796 1 d1807 1 a1807 1 d1814 1 a1814 1 d1850 2 a1851 3 d1853 1 a1853 1 d1866 1 a1866 1 d1873 1 a1873 1 d1880 1 a1880 1 d1922 2 a1923 3 d1925 1 a1925 1 d1934 1 a1934 1 d1969 2 a1970 3 d1972 1 a1972 1 d1989 1 a1989 1 d1996 1 a1996 1 d2003 1 a2003 1 d2010 1 a2010 1 d2017 1 a2017 1 d2064 2 a2065 3 d2067 1 a2067 1 d2078 1 a2078 1 d2085 1 a2085 1 d2124 2 a2125 3 d2127 1 a2127 1 d2140 1 a2140 1 d2147 1 a2147 1 d2154 1 a2154 1 d2209 2 a2210 3 d2212 1 a2212 1 d2225 1 a2225 1 d2232 1 a2232 1 d2239 1 a2239 1 d2277 2 a2278 3 d2280 1 a2280 1 d2291 1 a2291 1 d2298 1 a2298 1 d2307 1 a2307 1 d2348 2 a2349 3 d2351 1 a2351 1 d2362 1 a2362 1 d2369 1 a2369 1 d2376 1 a2376 1 d2405 1 a2405 1 d2446 2 a2447 3 d2449 1 a2449 1 d2460 1 a2460 1 d2467 1 a2467 1 d2497 2 a2498 3 d2500 1 a2500 1 d2515 1 a2515 1 d2522 1 a2522 1 d2529 1 a2529 1 d2536 1 a2536 1 d2564 2 a2565 3 d2567 1 a2567 1 d2578 1 a2578 1 d2585 1 a2585 1 d2612 2 a2613 3 d2615 1 a2615 1 d2630 1 a2630 1 d2637 1 a2637 1 d2644 1 a2644 1 d2651 1 a2651 1 d2680 2 a2681 3 d2683 1 a2683 1 d2694 1 a2694 1 d2701 1 a2701 1 d2734 2 a2735 3 d2737 1 a2737 1 d2752 1 a2752 1 d2759 1 a2759 1 d2766 1 a2766 1 d2773 1 a2773 1 d2802 2 a2803 3 d2805 1 a2805 1 d2816 1 a2816 1 d2823 1 a2823 1 d2853 2 a2854 3 d2856 1 a2856 1 d2871 1 a2871 1 d2878 1 a2878 1 d2885 1 a2885 1 d2892 1 a2892 1 d2925 2 a2926 3 d2928 1 a2928 1 d2939 1 a2939 1 d2946 1 a2946 1 d2977 2 a2978 3 d2980 1 a2980 1 d2995 1 a2995 1 d3002 1 a3002 1 d3009 1 a3009 1 d3016 1 a3016 1 d3045 2 a3046 3 d3048 1 a3048 1 d3059 1 a3059 1 d3066 1 a3066 1 d3096 2 a3097 3 d3099 1 a3099 1 d3114 1 a3114 1 d3121 1 a3121 1 d3128 1 a3128 1 d3135 1 a3135 1 d3165 2 a3166 3 d3168 1 a3168 1 d3179 1 a3179 1 d3186 1 a3186 1 d3216 2 a3217 3 d3219 1 a3219 1 d3234 1 a3234 1 d3241 1 a3241 1 d3248 1 a3248 1 d3255 1 a3255 1 d3285 2 a3286 3 d3288 1 a3288 1 d3299 1 a3299 1 d3306 1 a3306 1 d3333 2 a3334 3 d3336 1 a3336 1 d3351 1 a3351 1 d3358 1 a3358 1 d3365 1 a3365 1 d3372 1 a3372 1 d3402 2 a3403 3 d3405 1 a3405 1 d3416 1 a3416 1 d3423 1 a3423 1 d3450 2 a3451 3 d3453 1 a3453 1 d3468 1 a3468 1 d3475 1 a3475 1 d3482 1 a3482 1 d3489 1 a3489 1 d3519 2 a3520 3 d3522 1 a3522 1 d3533 1 a3533 1 d3540 1 a3540 1 d3567 2 a3568 3 d3570 1 a3570 1 d3585 1 a3585 1 d3592 1 a3592 1 d3599 1 a3599 1 d3606 1 a3606 1 d3636 2 a3637 3 d3639 1 a3639 1 d3650 1 a3650 1 d3657 1 a3657 1 d3684 2 a3685 3 d3687 1 a3687 1 d3702 1 a3702 1 d3709 1 a3709 1 d3716 1 a3716 1 d3723 1 a3723 1 d3753 2 a3754 3 d3756 1 a3756 1 d3767 1 a3767 1 d3774 1 a3774 1 d3801 2 a3802 3 d3804 1 a3804 1 d3819 1 a3819 1 d3826 1 a3826 1 d3833 1 a3833 1 d3840 1 a3840 1 d3870 2 a3871 3 d3873 1 a3873 1 d3884 1 a3884 1 d3891 1 a3891 1 d3919 2 a3920 3 d3922 1 a3922 1 d3933 1 a3933 1 d3940 1 a3940 1 d3968 2 a3969 3 d3971 1 a3971 1 d3984 1 a3984 1 d3991 1 a3991 1 d3998 1 a3998 1 d4029 2 a4030 3 d4032 1 a4032 1 d4043 1 a4043 1 d4050 1 a4050 1 d4081 2 a4082 3 d4084 1 a4084 1 d4097 1 a4097 1 d4104 1 a4104 1 d4111 1 a4111 1 @ 1.1.1.3 log @initial import of libX11-1.6.3 @ text @a0 3 d28 4 a31 3 rest of the keyboard, and instead, it is rotated from horizontal by 30°. Rotation for a geometry object is specified in 1/10° increments about its origin. An example of a keyboard with rotated sections is shown in Figure 13.1. d34 5 a38 7
Rotated Keyboard Sections
d46 3 a48 3 Some geometry components include a priority, which indicates the order in which overlapping objects should be drawn. d53 4 a56 6 XkbGeometryRec The keyboard geometry’s top-level description is stored in a XkbGeometryRec structure. This structure contains three types of information: d94 8 a101 7 The top-level keyboard geometry description includes a list of up to XkbGeomMaxColors (32) color names. A color name is a string whose interpretation is not specified by Xkb. The XkbColorRec structure provides a field for this name as well as a pixel field. The pixel d109 3 a111 3 The top-level keyboard geometry description includes a list of geometry properties. A geometry property associates an arbitrary string with an equally arbitrary d115 3 a117 3 properties, consider the pause/break key on most PC keyboards: the break symbol is d131 3 a133 3 The top-level keyboard geometry description includes a list of key aliases (see ). Key aliases allow the keyboard layout designer to assign d138 5 a142 5 are stored in the XkbNamesRec (xkb->names). Therefore, consider the key aliases defined by the geometry before d147 3 a149 3 The top-level keyboard geometry description includes a list of shapes; other keyboard components refer to shapes by their index in this list. A d151 3 a153 2 outlines. All points in an outline are specified relative to the origin of its d156 5 a160 5 default the first outline, or it can be optionally specified by the primary field in the XkbShapeRec structure. A keyboard display application can generate a simpler but still d162 3 a164 3 Nonrectangular keys must include a rectangular approximation as one of the outlines associated with the shape. The approximation is not d172 3 a174 3 The XkbGeometryRec top-level geometry description contains the following information that d181 3 a183 3 A keyboard symbolic name of type Atom to help users identify the keyboard. d188 5 a192 5 The width and height of the keyboard, in mm/10. For nonrectangular keyboards, the width and height d198 3 a200 3 The base color of the keyboard is the predominant color on the keyboard and is used as the d206 3 a208 3 The label color is the color used to draw the labels on most of the keyboard keys. d213 3 a215 3 The label font is a string that describes the font used to draw labels on most keys; label d223 10 a232 10 The keyboard is subdivided into named sections of related keys and doodads. The sections and doodads on the keyboard are listed in the XkbGeometryRec top-level keyboard geometry description. A section is composed of keys that are physically together and logically related. Figure 13.2 shows a keyboard that is divided into four sections. A doodad describes some visible aspect of the keyboard that is not a key and is not a d236 5 a240 7
Keyboard with Four Sections
d251 5 a255 5 A shape, used to draw keyboard components and stored in a XkbShapeRec structure, has: d278 3 a280 3 If either of these pointers is NULL, the default primary/approximation outline is the first one in the list of d287 5 a291 5 An outline, stored in a XkbOutlineRec structure, is a list of one or more points that describes a single d318 3 a320 3 A nonzero value for the corner_radius field specifies that the corners of the polygon should be drawn as circles d336 9 a344 9 shape’s list of outlines. If the primary field of the XkbShapeRec structure is not NULL, it points to the primary outline. A rectangular approximation must be included for nonrectangular keys as one of the outlines associated d355 3 a357 3 As previously noted, a keyboard is subdivided into sections of related keys. Each section has its own coordinate system — if a section d360 3 a362 3 rotation. The components that make up a section, stored in a XkbSectionRec, include: d389 3 a391 3 A list of rows. A row is a list of horizontally or vertically adjacent keys. Horizontal rows d394 2 a395 2 top coordinate; all keys in a vertical row share a left coordinate. Figure 13.3 shows the alpha section from the keyboard shown in Figure 13.2, divided into d401 5 a405 7
Rows in a Section
d416 3 a418 3 An optional list of doodads; any type of doodad can be enclosed within a section. Position and angle of d426 3 a428 3 An optional overlay with a name of type Atom and a list of overlay rows (described below). d443 3 a445 3 A row description (XkbRowRec) consists of the coordinates of its origin relative to its enclosing section, d452 3 a454 3 A key description (XkbKeyRec) consists of a key name, a shape, a key color, and a gap. The key name should d458 3 a460 2 XkbGeometryRec). Keys are normally drawn immediately adjacent to one another from left to d473 2 a474 2 is specified by Xkb is Edges, which, if present, describes the outline of the entire keyboard. d479 5 a483 5 Each doodad’s origin is stored in fields named left and top, which are the coordinates of the doodad’s origin relative to its enclosing d489 3 a491 3 with a type field, which specifies the type of doodad. d501 8 a508 8 An indicator doodad describes one of the physical keyboard indicators. Indicator doodads specify the shape of the indicator, the indicator color when it is lit (on_color) and the indicator color when it is dark (off_color). d513 3 a515 3 An outline doodad describes some aspect of the keyboard to be drawn as one or more hollow, d522 3 a524 3 A solid doodad describes some aspect of the keyboard to be drawn as one or more filled d531 3 a533 3 A text doodad describes a text label somewhere on the keyboard. Text doodads specify the d540 2 a541 2 A logo doodad d555 3 a557 3 The structures these doodads are stored in and the values of the type fields are shown in Table 13.1. d560 1 a560 1
d576 2 a577 2 indicator doodad d579 2 a580 2 XkbIndicatorDoodadRec d582 2 a583 2 XkbIndicatorDoodad d587 2 a588 2 outline doodad d590 2 a591 2 XkbShapeDoodadRec d593 2 a594 2 XkbOutlineDoodad d598 2 a599 2 solid doodad d601 2 a602 2 XkbShapeDoodadRec d604 2 a605 2 XkbSolidDoodad d609 2 a610 2 text doodad d612 2 a613 2 XkbTextDoodadRec d615 2 a616 2 XkbTextDoodad d620 2 a621 2 logo doodad d623 2 a624 2 XkbLogoDoodadRec d626 2 a627 2 XkbLogoDoodad d639 7 a645 6 An overlay row (XkbOverlayRowRec) contains a pointer to the row it overlays and a list of overlay keys. d650 11 a660 11 Each overlay key definition (XkbOverlayKeyRec) indicates a key that can yield multiple keycodes and consists of a field named under, which specifies the primary name of the key and a field named over, which specifies the name for the key when the overlay keycode is selected. The key specified in under must be a member of the section that contains the overlay key definition, d671 1 d673 1 a673 1 d697 5 a701 7
Xkb Geometry Data Structures
d711 5 a715 7
Xkb Geometry Data Structures (Doodads)
d726 5 a730 7
Xkb Geometry Data Structures (Overlays)
d737 26 a762 34 typedef struct _XkbGeometry { /* top-level keyboard geometry structure */ Atom name; /* keyboard name */ unsigned short width_mm; /* keyboard width in mm/10 */ unsigned short height_mm; /* keyboard height in mm/10 */ char * label_font; /* font for key labels */ XkbColorPtr label_color; /* color for key labels - pointer into colors array */ XkbColorPtr base_color; /* color for basic keyboard - pointer into colors array */ unsigned short sz_properties; /* size of properties array */ unsigned short sz_colors; /* size of colors array */ unsigned short sz_shapes; /* size of shapes array */ unsigned short sz_sections; /* size of sections array */ unsigned short sz_doodads; /* size of doodads array */ unsigned short sz_key_aliases; /* size of key aliases array */ unsigned short num_properties; /* number of properties in the properties array */ unsigned short num_colors; /* number of colors in the colors array */ unsigned short num_shapes; /* number of shapes in the shapes array */ unsigned short num_sections; /* number of sections in the sections array */ unsigned short num_doodads; /* number of doodads in the doodads array */ unsigned short num_key_aliases; /* number of key aliases in the key_aliases array */ XkbPropertyPtr properties; /* properties array */ XkbColorPtr colors; /* colors array */ XkbShapePtr shapes; /* shapes array */ XkbSectionPtr sections; /* sections array */ XkbDoodadPtr doodads; /* doodads array */ XkbKeyAliasPtr key_aliases; /* key aliases array */ } XkbGeometryRec, *XkbGeometryPtr; d766 9 a774 9 The doodads array is only for doodads not contained in any of the sections that has its own doodads. The key aliases contained in the key_aliases array take precedence over any defined in the keycodes component of the d780 3 a782 3 char * name; /* property name */ char * value; /* property value */ } XkbPropertyRec, *XkbPropertyPtr; d787 3 a789 3 unsigned int pixel; /* color */ char * spec; /* color name */ } XkbColorRec, *XkbColorPtr; d794 3 a796 3 char real[XkbKeyNameLength]; /* real name of the key */ char alias[XkbKeyNameLength]; /* alias for the key */ } XkbKeyAliasRec, *XkbKeyAliasPtr; d800 4 a803 4 typedef struct _XkbPoint { /* x, y coordinates */ short x; short y; } XkbPointRec, *XkbPointPtr; d808 5 a812 7 unsigned short num_points; /* number of points in the outline */ unsigned short sz_points; /* size of the points array */ unsigned short corner_radius; /* draw corners as circles with this radius */ XkbPointPtr points; /* array of points defining the outline */ } XkbOutlineRec, *XkbOutlinePtr; d817 5 a821 3 short x1, y1; /* upper left corner of the bounds, in mm/10 */ short x2, y2; /* lower right corner of the bounds, in mm/10 */ } XkbBoundsRec, *XkbBoundsPtr; d826 8 a833 11 Atom name; /* shape’s name */ unsigned short num_outlines; /* number of outlines for the shape */ unsigned short sz_outlines; /* size of the outlines array */ XkbOutlinePtr outlines; /* array of outlines for the shape */ XkbOutlinePtr approx; /* pointer into the array to the approximating outline */ XkbOutlinePtr primary; /* pointer into the array to the primary outline */ XkbBoundsRec bounds; /* bounding box for the shape; encompasses all outlines */ } XkbShapeRec, *XkbShapePtr; d837 7 a843 7 If approx and/or primary is NULL, the default value is used. The default primary outline is the first element d848 6 a853 6 typedef struct _XkbKey { /* key in a row */ XkbKeyNameRec name; /* key name */ short gap; /* gap in mm/10 from previous key in row */ unsigned char shape_ndx; /* index of shape for key */ unsigned char color_ndx; /* index of color for key body */ } XkbKeyRec, *XkbKeyPtr; d857 10 a866 12 typedef struct _XkbRow { /* row in a section */ short top; /* top coordinate of row origin, relative to section’s origin */ short left; /* left coordinate of row origin, relative to section’s origin */ unsigned short num_keys; /* number of keys in the keys array */ unsigned short sz_keys; /* size of the keys array */ int vertical; /* True ⇒vertical row, False ⇒horizontal row */ XkbKeyPtr keys; /* array of keys in the row */ XkbBoundsRec bounds; /* bounding box for the row */ } XkbRowRec, *XkbRowPtr; d870 9 a878 5 top and left are in mm/10. d883 7 a889 7 Atom name; /* overlay name */ XkbSectionPtr section_under; /* the section under this overlay */ unsigned short num_rows; /* number of rows in the rows array */ unsigned short sz_rows; /* size of the rows array */ XkbOverlayRowPtr rows; /* array of rows in the overlay */ XkbBoundsPtr bounds; /* bounding box for the overlay */ } XkbOverlayRec, *XkbOverlayPtr; d894 5 a898 6 unsigned short row_under; /* index into the row under this overlay row */ unsigned short num_keys; /* number of keys in the keys array */ unsigned short sz_keys; /* size of the keys array */ XkbOverlayKeyPtr keys; /* array of keys in the overlay row */ } XkbOverlayRowRec, *XkbOverlayRowPtr; d902 10 a911 8 row_under is an index into the array of rows in the section under this overlay. The section under this overlay row is the one pointed to by section_under in this overlay row’s XkbOverlayRec. d916 3 a918 3 XkbKeyNameRec over; /* name of this overlay key */ XkbKeyNameRec under; /* name of the key under this overlay key */ } XkbOverlayKeyRec, *XkbOverlayKeyPtr; d923 18 a940 20 Atom name; /* section name */ unsigned char priority; /* drawing priority, 0⇒highest, 255⇒lowest */ short top; /* top coordinate of section origin */ short left; /* left coordinate of row origin */ unsigned short width; /* section width, in mm/10 */ unsigned short height; /* section height, in mm/10 */ short angle; /* angle of section rotation, counterclockwise */ unsigned short num_rows; /* number of rows in the rows array */ unsigned short num_doodads; /* number of doodads in the doodads array */ unsigned short num_overlays; /* number of overlays in the overlays array */ unsigned short sz_rows; /* size of the rows array */ unsigned short sz_doodads; /* size of the doodads array */ unsigned short sz_overlays; /* size of the overlays array */ XkbRowPtr rows; /* section rows array */ XkbDoodadPtr doodads; /* section doodads array */ XkbBoundsRec bounds; /* bounding box for the section, before rotation */ XkbOverlayPtr overlays; /* section overlays array */ } XkbSectionRec, *XkbSectionPtr; d944 16 a959 9 top and left are the origin of the section, relative to the origin of the keyboard, in mm/10. angle is in 1/10 degrees. d966 5 a970 6 The doodad arrays in the XkbGeometryRec and the XkbSectionRec may contain any of the doodad structures and types shown in Table 13.1. d980 6 a985 6 XkbAnyDoodadRec any; XkbShapeDoodadRec shape; XkbTextDoodadRec text; XkbIndicatorDoodadRec indicator; XkbLogoDoodadRec logo; } XkbDoodadRec, *XkbDoodadPtr; d989 24 a1012 22 The top and left coordinates of each doodad are the coordinates of the origin of the doodad relative to the keyboard’s origin if the doodad is in the XkbGeometryRec doodad array, and with respect to the section’s origin if the doodad is in a XkbSectionRec doodad array. The color_ndx or on_color_ndx and off_color_ndx fields are color indices into the XkbGeometryRec’s color array and are the colors to draw the doodads with. Similarly, the shape_ndx fields are indices into the XkbGeometryRec’s shape array. d1017 11 a1027 12 Atom name; /* doodad name */ unsigned char type; /* XkbOutlineDoodad or XkbSolidDoodad */ unsigned char priority; /* drawing priority, 0⇒highest, 255⇒lowest */ short top; /* top coordinate, in mm/10 */ short left; /* left coordinate, in mm/10 */ short angle; /* angle of rotation, clockwise, in 1/10 degrees */ unsigned short color_ndx; /* doodad color */ unsigned short shape_ndx; /* doodad shape */ } XkbShapeDoodadRec, *XkbShapeDoodadPtr; d1032 13 a1044 14 Atom name; /* doodad name */ unsigned char type; /* XkbTextDoodad */ unsigned char priority; /* drawing priority, 0⇒highest, 255⇒lowest */ short top; /* top coordinate, in mm/10 */ short left; /* left coordinate, in mm/10 */ short angle; /* angle of rotation, clockwise, in 1/10 degrees */ short width; /* width in mm/10 */ short height; /* height in mm/10 */ unsigned short color_ndx; /* doodad color */ char * text; /* doodad text */ char * font; /* arbitrary font name for doodad text */ } XkbTextDoodadRec, *XkbTextDoodadPtr; d1049 10 a1058 11 Atom name; /* doodad name */ unsigned char type; /* XkbIndicatorDoodad */ unsigned char priority; /* drawing priority, 0⇒highest, 255⇒lowest */ short top; /* top coordinate, in mm/10 */ short left; /* left coordinate, in mm/10 */ short angle; /* angle of rotation, clockwise, in 1/10 degrees */ unsigned short shape_ndx; /* doodad shape */ unsigned short on_color_ndx; /* color for doodad if indicator is on */ unsigned short off_color_ndx;/* color for doodad if indicator is off */ } XkbIndicatorDoodadRec, *XkbIndicatorDoodadPtr; d1063 10 a1072 11 Atom name; /* doodad name */ unsigned char type; /* XkbLogoDoodad */ unsigned char priority; /* drawing priority, 0⇒highest, 255⇒lowest */ short top; /* top coordinate, in mm/10 */ short left; /* left coordinate, in mm/10 */ short angle; /* angle of rotation, clockwise, in 1/10 degrees */ unsigned short color_ndx; /* doodad color */ unsigned short shape_ndx; /* doodad shape */ char * logo_name; /* text for logo */ } XkbLogoDoodadRec, *XkbLogoDoodadPtr d1082 6 a1087 6 by XkbGetKeyboard. However, if a keyboard description has been previously loaded, you can instead obtain the geometry by calling the XkbGetGeometry. In this case, the geometry returned is the one associated with the keyboard d1093 1 a1093 1 XkbGetGeometry. d1096 51 a1146 49 XkbGetGeometry Status XkbGetGeometry Display *dpy XkbDescPtr xkb dpy connection to the X server xkb keyboard description that contains the ID for the keyboard and into which the geometry should be loaded XkbGetGeometry can return BadValue, BadImplementation, BadName, BadAlloc, or BadLength errors or Success if it succeeds. d1151 56 a1206 60 a database of keyboard components (see ). To load a keyboard geometry description from this database by name, use XkbGetNamedGeometry. XkbGetNamedGeometry Status XkbGetNamedGeometry Display *dpy XkbDescPtr xkb Atom name dpy connection to the X server xkb keyboard description into which the geometry should be loaded name name of the geometry to be loaded XkbGetNamedGeometry can return BadName if the name cannot be found. d1225 5 a1229 7
Key Surface, Shape Outlines, and Bounding Box
d1238 2 a1239 2 To determine the bounding box of the top surface of a shape, use XkbComputeShapeTop. d1242 40 a1281 41 XkbComputeShapeTop Bool XkbComputeShapeTop XkbShapePtr shape XkbBoundsPtr bounds_rtrn shape shape to be examined bounds_rtrn backfilled with the bounding box for the shape XkbComputeShapeTop returns a BoundsRec that contains two x and y coordinates. These coordinates describe the corners d1284 22 a1305 21 approx field of shape is not NULL. If approx is NULL, the top surface is defined as the last outline in the shape’s array of outlines. XkbComputeShapeTop returns False if shape is NULL or if there are no outlines for the shape; otherwise, it returns True. d1310 5 a1314 5 A ShapeRec contains a BoundsRec that describes the bounds of the shape. If you add or delete an outline to or d1316 1 a1316 1 shape, use XkbComputeShapeBounds. d1320 46 a1365 43 XkbComputeShapeBounds Bool XkbComputeShapeBounds XkbShapePtr shape shape shape to be examined XkbComputeShapeBounds updates the BoundsRec contained in the shape by examining all the outlines of the shape and setting the BoundsRec to the minimum x and minimum y, and maximum x and maximum y values found in those outlines. XkbComputeShapeBounds returns False if shape is NULL or if there are no outlines for the shape; otherwise, it returns True. d1369 1 a1369 1 If you add or delete a key to or from a row, or if you update the shape of one d1371 1 a1371 1 To update the bounding box of a row, use XkbComputeRowBounds. d1374 59 a1432 60 XkbComputeRowBounds Bool XkbComputeRowBounds XkbGeometryPtr geom XkbSectionPtr section XkbRowPtr row geom geometry that contains the section section section that contains the row row row to be examined and updated XkbComputeRowBounds checks the bounds of all keys in the row and updates the bounding box of the row if necessary. XkbComputeRowBounds returns False if any of the arguments is NULL; otherwise, it returns True. d1436 1 a1436 1 If you add or delete a row to or from a section, or if you change the geometry d1439 1 a1439 1 XkbComputeSectionBounds. d1442 51 a1492 48 XkbComputeSectionBounds Bool XkbComputeSectionBounds XkbGeometryPtr geom XkbSectionPtr section geom geometry that contains the section section section to be examined and updated XkbComputeSectionBounds examines all the rows of the section and updates the bounding box of that section so that it contains all rows. XkbComputeSectionBounds returns False if any of the arguments is NULL; otherwise, it returns True. d1498 2 a1499 2 by using the primary name for a key that is part of an overlay, use XkbFindOverlayForKey. d1502 51 a1552 53 XkbFindOverlayForKey char *XkbFindOverlayForKey XkbGeometryPtr geom XkbSectionPtr section char *under geom geometry that contains the section section section to be searched for matching keys under .primary name of the key to be considered XkbFindOverlayForKey uses the primary name of the key, under, to look up the alternate name, which it returns. d1562 10 a1571 6 geometry. In each case the num_* fields of the corresponding structure is incremented by 1. These functions do not change sz_* unless there is no more room in the array. Some of these functions fill in the d1578 3 a1580 3 The top-level geometry description includes a list of geometry properties. A geometry property associates an arbitrary string with an equally arbitrary d1588 3 a1590 2 To add one property to an existing keyboard geometry description, use XkbAddGeomProperty. d1593 57 a1649 59 XkbAddGeomProperty XkbPropertyPtr XkbAddGeomProperty XkbGeometryPtr geom char *name char *value geom geometry to be updated name name of the new property value value for the new property XkbAddGeomProperty adds one property with the specified name and value to the keyboard geometry specified by geom. XkbAddGeomProperty returns NULL if any of the parameters is empty or if it was not able to allocate space for d1657 3 a1659 1 XkbAddGeomKeyAlias. d1663 50 a1712 55 XkbAddGeomKeyAlias XkbKeyAliasPtr XkbAddGeomKeyAlias XkbGeometryPtr geom char *alias char *real geom geometry to be updated alias alias to be added real real name to be bound to the new alias XkbAddGeomKeyAlias adds one key alias with the value alias to the geometry geom, and associates it with the key whose real name is real. XkbAddGeomKeyAlias returns NULL if any of the parameters is empty or if it was not able to allocate space for d1720 3 a1722 1 XkbAddGeomColor. d1726 62 a1787 65 XkbAddGeomColor XkbColorPtr XkbAddGeomColor XkbGeometryPtr geom char *spec unsigned int pixel geom geometry to be updated spec color to be added pixel color to be added XkbAddGeomColor adds the specified color name and pixel to the specified geometry geom. The top-level geometry description includes a list of up to MaxColors (32) color names. A color name is a string whose interpretation is not specified by Xkb and neither is the pixel value’s interpretation. All other geometry data structures refer to colors d1789 5 a1793 4 XkbAddGeomColor returns NULL if any of the parameters is empty or if it was not able to allocate space for d1795 8 a1802 3 use the XkbAllocGeomColors function. d1805 34 d1840 11 a1850 52 To add one outline to an existing shape, use XkbAddGeomOutline. XkbAddGeomOutline XkbOutlinePtr XkbAddGeomOutline XkbShapePtr shape int sz_points shape shape to be updated sz_points number of points to be reserved An outline consists of an arbitrary number of points. XkbAddGeomOutline adds an outline to the specified shape by reserving sz_points points for it. The new outline is allocated and zeroed. XkbAddGeomOutline returns NULL if any of the parameters is empty or if it was not able to allocate space. To d1857 3 a1859 2 To add a shape to a keyboard geometry, use XkbAddGeomShape. d1863 42 a1904 47 XkbAddGeomShape XkbShapePtr XkbAddGeomShape XkbGeometryPtr geom Atom name int sz_outlines geom geometry to be updated name name of the new shape sz_outlines number of outlines to be reserved d1908 18 a1925 15 an arbitrary number of outlines. XkbAddGeomShape adds a shape to a geometry geom by allocating space for sz_outlines outlines for it and giving it the name specified by name. If a shape with name name already exists in the geometry, a pointer to the existing shape is returned. XkbAddGeomShape returns NULL if any of the parameters is empty or if it was not able to allocate space. To allocate space for an arbitrary number of geometry shapes, use XkbAllocGeomShapes. d1930 3 a1932 2 To add one key at the end of an existing row of keys, use XkbAddGeomKey. d1936 37 a1972 36 XkbAddGeomKey XkbKeyPtr XkbAddGeomKey XkbRowPtr row row row to be updated Keys are grouped into rows. XkbAddGeomKey adds one key to the end of the specified row. The key is allocated and zeroed. XkbAddGeomKey returns NULL if row is empty or if it was not able to allocate space for the key. To allocate d1978 3 a1980 2 To add one section to an existing keyboard geometry, use XkbAddGeomSection. d1984 84 a2067 93 XkbAddGeomSection XkbSectionPtr XkbAddGeomSection XkbGeometryPtr geom Atom name int sz_rows int sz_doodads int sz_overlays geom geometry to be updated name name of the new section sz_rows number of rows to reserve in the section sz_doodads number of doodads to reserve in the section sz_overlays number of overlays to reserve in the section A keyboard geometry contains an arbitrary number of sections. XkbAddGeomSection adds one section to an existing keyboard geometry geom. The new section contains space for the number of rows, doodads, and overlays specified by sz_rows, sz_doodads, and sz_overlays. The new section is allocated and zeroed and given the name specified by name. If a section with name name already exists in the geometry, a pointer to the existing section is returned. XkbAddGeomSection returns NULL if any of the parameters is empty or if it was not able to allocate space for d2074 3 a2076 2 To add a row to a section, use XkbAddGeomRow. d2080 33 a2112 35 XkbAddGeomRow XkbRowPtr XkbAddGeomRow XkbSectionPtr section int sz_keys section section to be updated sz_keys number of keys to be reserved d2116 12 a2127 11 keys. XkbAddGeomRow adds one row to the specified section. The newly created row contains space for the number of keys specified in sz_keys. They are allocated and zeroed, but otherwise uninitialized. XkbAddGeomRow returns NULL if any of the parameters is empty or if it was not able to allocate space for d2135 3 a2137 2 geometry, use XkbAddGeomDoodad. d2141 73 a2213 77 XkbAddGeomDoodad XkbDoodadPtr XkbAddGeomDoodad XkbGeometryPtr geom XkbSectionPtr section Atom name geom geometry to which the doodad is added section section, if any, to which the doodad is added name name of the new doodad A doodad describes some visible aspect of the keyboard that is not a key and is not a section. XkbAddGeomDoodad adds a doodad with name specified by name to the geometry geom if section is NULL or to the section of the geometry specified by section if section is not NULL. XkbAddGeomDoodad returns NULL if any of the parameters is empty or if it was not able to allocate space for the doodad. If there is already a doodad with the name name in the doodad array for the geometry (if section is NULL) or the section (if section is non- NULL), a pointer to that doodad is returned. To allocate space for an arbitrary d2221 3 a2223 2 To add one overlay to a section, use XkbAddGeomOverlay. d2227 57 a2283 61 XkbAddGeomOverlay XkbOverlayPtr XkbAddGeomOverlay XkbSectionPtr section Atom name int sz_rows section section to which an overlay will be added name name of the overlay sz_rows number of rows to reserve in the overlay XkbAddGeomOverlay adds an overlay with the specified name to the specified section. The new overlay is created with space allocated for sz_rows rows. If an overlay with name name already exists in the section, a pointer to the existing overlay is returned. XkbAddGeomOverlay returns NULL if any of the parameters is empty or if it was not able to allocate space for d2290 3 a2292 2 To add a row to an existing overlay, use XkbAddGeomOverlayRow. d2296 61 a2356 65 XkbAddGeomOverlayRow XkbOverlayRowPtr XkbAddGeomOverlayRow XkbOverlayPtr overlay XkbRowPtr row_under int sz_keys overlay overlay to be updated row_under row to be overlayed in the section overlay overlays sz_keys number of keys to reserve in the row XkbAddGeomOverlayRow adds one row to the overlay. The new row contains space for sz_keys keys. If row_under specifies a row that doesn’t exist on the underlying section, XkbAddGeomOverlayRow returns NULL and doesn’t change the overlay. XkbAddGeomOverlayRow returns NULL if any of the parameters is empty or if it was not able to allocate space for d2362 3 a2364 2 To add a key to an existing overlay row, use XkbAddGeomOverlayKey. d2368 55 a2422 59 XkbAddGeomOverlayKey XkbOverlayKeyPtr XkbAddGeomOverlayKey XkbOverlayPtr overlay XkbRowPtr row char *under overlay overlay to be updated row row in overlay to be updated under primary name of the key to be considered XkbAddGeomOverlayKey adds one key to the row in the overlay. If there is no key named under in the row of the underlying section, XkbAddGeomOverlayKey returns NULL. d2435 24 a2458 15 functions increase sz_* but never touch num_* (unless there is an allocation failure, in which case they reset both sz_* and num_* to zero). These functions return Success if they succeed, BadAlloc if they are not able to allocate space, or BadValue if a parameter is not as expected. d2467 110 a2576 116 XkbAllocGeomOutlines Status XkbAllocGeomOutlines XkbShapePtr shape int num_needed shape shape for which outlines should be allocated num_needed number of new outlines required XkbAllocGeomOutlines allocates space for num_needed outlines in the specified shape. The outlines are not initialized. To free geometry outlines, use XkbFreeGeomOutlines. XkbFreeGeomOutlines void XkbFreeGeomOutlines XkbShapePtr shape int first int count Bool free_all shape shape in which outlines should be freed first first outline to be freed count number of outlines to be freed free_all True ⇒ all outlines are freed If free_all is True, all outlines are freed regardless of the value of first or count. Otherwise, d2587 33 a2619 35 XkbAllocGeomKeys Status XkbAllocGeomKeys XkbRowPtr row int num_needed row row to which keys should be allocated num_needed number of new keys required d2622 3 a2624 2 XkbAllocGeomKeys allocates num_needed keys and adds them to the row. No initialization of the d2630 3 a2632 2 To free geometry keys, use XkbFreeGeomKeys. d2636 58 a2693 64 XkbFreeGeomKeys void XkbFreeGeomKeys XkbRowPtr row int first int count Bool free_all row row in which keys should be freed first first key to be freed count number of keys to be freed free_all True ⇒ all keys are freed If free_all is True, all keys are freed regardless of the value of first or count. Otherwise, d2699 3 a2701 2 To allocate geometry properties, use XkbAllocGeomProps. d2705 41 a2745 42 XkbAllocGeomProps Status XkbAllocGeomProps XkbGeometryPtr geom int num_needed geom geometry for which properties should be allocated num_needed number of new properties required XkbAllocGeomProps allocates space for num_needed properties and adds them to the specified geometry geom. No initialization of the properties is done. A geometry property associates d2754 3 a2756 2 To free geometry properties, use XkbFreeGeomProperties. d2760 58 a2817 64 XkbFreeGeomProperties void XkbFreeGeomProperties XkbGeometryPtr geom int first int count Bool free_all geom geometry in which properties should be freed first first property to be freed count number of properties to be freed free_all True ⇒ all properties are freed If free_all is True, all properties are freed regardless of the value of first or count. d2823 3 a2825 2 To allocate geometry key aliases, use XkbAllocGeomKeyAliases. d2829 41 a2869 42 XkbAllocGeomKeyAliases Status XkbAllocGeomKeyAliases XkbGeometryPtr geom int num_needed geom geometry for which key aliases should be allocated num_needed number of new key aliases required XkbAllocGeomKeyAliases allocates space for num_needed key aliases and adds them to the specified geometry geom. A key alias is a pair of strings that associates an alternate name for a key d2875 69 a2943 2 To free geometry key aliases, use XkbFreeGeomKeyAliases. d2947 48 a2994 119 XkbFreeGeomKeyAliases void XkbFreeGeomKeyAliases XkbGeometryPtr geom int first int count Bool free_all geom geometry in which key aliases should be freed first first key alias to be freed count number of key aliases to be freed free_all True ⇒ all key aliases are freed If free_all is True, all aliases in the top level of the specified geometry geom are freed regardless of the value of first or count. Otherwise, count aliases in geom are freed beginning with the one specified by first. To allocate geometry colors, use XkbAllocGeomColors. XkbAllocGeomColors Status XkbAllocGeomColors XkbGeometryPtr geom int num_needed geom geometry for which colors should be allocated num_needed number of new colors required. XkbAllocGeomColors allocates space for num_needed colors and adds them to the specified geometry geom. A color name is a string whose interpretation is not specified by Xkb. All d3001 3 a3003 2 To free geometry colors, use XkbFreeGeomColors. d3007 58 a3064 64 XkbFreeGeomColors void XkbFreeGeomColors XkbGeometryPtr geom int first int count Bool free_all geom geometry in which colors should be freed first first color to be freed count number of colors to be freed free_all True ⇒ all colors are freed If free_all is True, all colors are freed regardless of the value of first or count. Otherwise, d3070 55 a3124 2 To allocate points in an outline, use XkbAllocGeomPoints. d3128 58 a3185 116 XkbAllocGeomPoints Status XkbAllocGeomPoints XkbOutlinePtr outline int num_needed outline outline for which points should be allocated num_needed number of new points required XkbAllocGeomPoints allocates space for num_needed points in the specified outline. The points are not initialized. To free points in a outline, use XkbFreeGeomPoints. XkbFreeGeomPoints void XkbFreeGeomPoints XkbOutlinePtr outline int first int count Bool free_all outline outline in which points should be freed first first point to be freed. count number of points to be freed free_all True ⇒ all points are freed If free_all is True, all points are freed regardless of the value of first and count. Otherwise, d3192 3 a3194 2 To allocate space for an arbitrary number of geometry shapes, use XkbAllocGeomShapes. d3198 110 a3307 116 XkbAllocGeomShapes Status XkbAllocGeomShapes XkbGeometryPtr geom int num_needed geom geometry for which shapes should be allocated num_needed number of new shapes required XkbAllocGeomShapes allocates space for num_needed shapes in the specified geometry geom. The shapes are not initialized. To free geometry shapes, use XkbFreeGeomShapes. XkbFreeGeomShapes void XkbFreeGeomShapes XkbGeometryPtr geom int first int count Bool free_all geom geometry in which shapes should be freed first first shape to be freed count number of shapes to be freed free_all True ⇒ all shapes are freed If free_all is True, all shapes in the geometry are freed regardless of the values of first and d3314 3 a3316 2 To allocate geometry sections, use XkbAllocGeomSections. d3320 33 a3352 35 XkbAllocGeomSections Status XkbAllocGeomSections XkbGeometryPtr geom int num_needed geom geometry for which sections should be allocated num_needed number of new sections required d3355 3 a3357 2 XkbAllocGeomSections allocates num_needed sections and adds them to the geometry geom. No d3363 3 a3365 2 To free geometry sections, use XkbFreeGeomSections. d3369 58 a3426 64 XkbFreeGeomSections void XkbFreeGeomSections XkbGeometryPtr geom int first int count Bool free_all geom geometry in which sections should be freed first first section to be freed. count number of sections to be freed free_all True ⇒ all sections are freed If free_all is True, all sections are freed regardless of the value of first and count. Otherwise, d3433 3 a3435 2 To allocate rows in a section, use XkbAllocGeomRows. d3439 33 a3471 35 XkbAllocGeomRows Status XkbAllocGeomRows XkbSectionPtr section int num_needed section section for which rows should be allocated num_needed number of new rows required d3474 3 a3476 2 XkbAllocGeomRows allocates num_needed rows and adds them to the section. No initialization of d3482 3 a3484 2 To free rows in a section, use XkbFreeGeomRows. d3488 58 a3545 64 XkbFreeGeomRows void XkbFreeGeomRows XkbSectionPtr section int first int count Bool free_all section section in which rows should be freed first first row to be freed. count number of rows to be freed free_all True ⇒ all rows are freed If free_all is True, all rows are freed regardless of the value of first and count. Otherwise, the d3552 3 a3554 2 To allocate overlays in a section, use XkbAllocGeomOverlays. d3558 33 a3590 35 XkbAllocGeomOverlays Status XkbAllocGeomOverlays XkbSectionPtr section int num_needed section section for which overlays should be allocated num_needed number of new overlays required d3593 3 a3595 2 XkbAllocGeomRows allocates num_needed overlays and adds them to the section. No initialization d3601 3 a3603 2 To free rows in an section, use XkbFreeGeomOverlays. d3607 58 a3664 64 XkbFreeGeomOverlays void XkbFreeGeomOverlays XkbSectionPtr section int first int count Bool free_all section section in which overlays should be freed first first overlay to be freed. count number of overlays to be freed free_all True ⇒ all overlays are freed If free_all is True, all overlays are freed regardless of the value of first and count. Otherwise, d3671 3 a3673 2 To allocate rows in a overlay, use XkbAllocGeomOverlayRows. d3677 33 a3709 35 XkbAllocGeomOverlayRows Status XkbAllocGeomOverlayRows XkbSectionPtr overlay int num_needed overlay section for which rows should be allocated num_needed number of new rows required d3712 3 a3714 2 XkbAllocGeomOverlayRows allocates num_needed rows and adds them to the overlay. No initialization of d3720 3 a3722 2 To free rows in an overlay, use XkbFreeGeomOverlayRows. d3726 58 a3783 64 XkbFreeGeomOverlayRows void XkbFreeGeomOverlayRows XkbSectionPtr overlay int first int count Bool free_all overlay section in which rows should be freed first first row to be freed. count number of rows to be freed free_all True ⇒ all rows are freed If free_all is True, all rows are freed regardless of the value of first and count. Otherwise, the d3790 3 a3792 2 To allocate keys in an overlay row, use XkbAllocGeomOverlayKeys. d3796 33 a3828 35 XkbAllocGeomOverlayKeys Status XkbAllocGeomOverlayKeys XkbRowPtr row int num_needed row section for which rows should be allocated num_needed number of new rows required d3831 3 a3833 2 XkbAllocGeomOverlayKeys allocates num_needed keys and adds them to the row. No initialization of the d3839 3 a3841 2 To free keys in an overlay row, use XkbFreeGeomOverlayKeys. d3845 58 a3902 64 XkbFreeGeomOverlayKeys void XkbFreeGeomOverlayKeys XkbRowPtr row int first int count Bool free_all row row in which keys should be freed first first key to be freed. count number of keys to be freed free_all True ⇒ all keys are freed If free_all is True, all keys are freed regardless of the value of first and count. Otherwise, the d3909 3 a3911 2 To allocate doodads that are global to a keyboard geometry, use XkbAllocGeomDoodads. d3915 151 a4065 154 XkbAllocGeomDoodads Status XkbAllocGeomDoodads XkbGeometryPtr geom int num_needed geom geometry for which doodads should be allocated num_needed number of new doodads required XkbAllocGeomDoodads allocates num_needed doodads and adds them to the specified geometry geom. No initialization of the doodads is done. To allocate doodads that are specific to a section, use XkbAllocGeomSectionDoodads. XkbAllocGeomSectionDoodads Status XkbAllocGeomSectionDoodads XkbSectionPtr section int num_needed section section for which doodads should be allocated num_needed number of new doodads required XkbAllocGeomSectionDoodads allocates num_needed doodads and adds them to the specified section. No initialization of the doodads is done. To free geometry doodads, use XkbFreeGeomDoodads. XkbFreeGeomDoodads void XkbFreeGeomDoodads XkbDoodadPtr doodads int count Bool free_all doodads doodads to be freed count number of doodads to be freed free_all True ⇒ all doodads are freed If free_all is True, all doodads in the array are freed, regardless of the value of count. d4071 3 a4073 2 To allocate an entire geometry, use XkbAllocGeometry. d4077 33 a4109 35 XkbAllocGeometry Status XkbAllocGeometry XkbDescPtr xkb XkbGeometrySizesPtr sizes xkb keyboard description for which geometry is to be allocated sizes initial sizes for all geometry components d4112 3 a4114 2 XkbAllocGeometry allocates a keyboard geometry and adds it to the keyboard description d4124 3 a4126 2 To free an entire geometry, use XkbFreeGeometry. d4130 44 a4173 47 XkbFreeGeometry void XkbFreeGeometry XkbGeometryPtr geom unsigned int which Bool free_all geom geometry to be freed which mask of geometry components to be freed free_all True ⇒ the entire geometry is freed. d4178 1 d4180 1 a4180 1 d4190 3 a4192 3 If free_all is True, the entire geometry is freed regardless of the value of which. Otherwise, the @ 1.1.1.3.2.1 log @Sync external/mit/libX11 to current, requested by maya in ticket 1582 external/mit/libX11/dist/include/X11/extensions/XKBgeom.h up to 1.1.1.1 external/mit/libX11/dist/man/xkb/XkbAllocGeomOverlayKeys.man up to 1.1.1.1 external/mit/libX11/dist/man/xkb/XkbGetNamedDeviceIndicator.man up to 1.1.1.1 external/mit/libX11/dist/man/xkb/XkbSetNamedDeviceIndicator.man up to 1.1.1.1 external/mit/libX11/dist/src/reallocarray.c up to 1.1.1.1 external/mit/libX11/dist/src/reallocarray.h up to 1.1.1.2 external/mit/libX11/dist/README.md up to 1.1.1.2 external/mit/libX11/dist/README delete external/mit/libX11/dist/man/xkb/XkbAllocGeomOverlayKey.man delete external/mit/libX11/dist/ChangeLog up to 1.1.1.21 external/mit/libX11/dist/Makefile.am up to 1.1.1.7 external/mit/libX11/dist/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/aclocal.m4 up to 1.1.1.19 external/mit/libX11/dist/config.guess up to 1.1.1.14 external/mit/libX11/dist/config.sub up to 1.1.1.13 external/mit/libX11/dist/configure up to 1.1.1.21 external/mit/libX11/dist/configure.ac up to 1.1.1.21 external/mit/libX11/dist/depcomp up to 1.1.1.10 external/mit/libX11/dist/install-sh up to 1.1.1.10 external/mit/libX11/dist/ltmain.sh up to 1.1.1.14 external/mit/libX11/dist/include/Makefile.am up to 1.1.1.3 external/mit/libX11/dist/include/Makefile.in up to 1.1.1.20 external/mit/libX11/dist/include/X11/Xlib.h up to 1.1.1.9 external/mit/libX11/dist/include/X11/Xlibint.h up to 1.1.1.12 external/mit/libX11/dist/m4/libtool.m4 up to 1.9 external/mit/libX11/dist/man/AllPlanes.man up to 1.1.1.5 external/mit/libX11/dist/man/BlackPixelOfScreen.man up to 1.1.1.4 external/mit/libX11/dist/man/Compose.man up to 1.1.1.6 external/mit/libX11/dist/man/DisplayOfCCC.man up to 1.1.1.5 external/mit/libX11/dist/man/ImageByteOrder.man up to 1.1.1.4 external/mit/libX11/dist/man/IsCursorKey.man up to 1.1.1.4 external/mit/libX11/dist/man/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/man/XAddConnectionWatch.man up to 1.1.1.5 external/mit/libX11/dist/man/XAddHost.man up to 1.1.1.6 external/mit/libX11/dist/man/XAllocClassHint.man up to 1.1.1.4 external/mit/libX11/dist/man/XAllocColor.man up to 1.1.1.6 external/mit/libX11/dist/man/XAllocIconSize.man up to 1.1.1.5 external/mit/libX11/dist/man/XAllocSizeHints.man up to 1.1.1.4 external/mit/libX11/dist/man/XAllocStandardColormap.man up to 1.1.1.4 external/mit/libX11/dist/man/XAllocWMHints.man up to 1.1.1.4 external/mit/libX11/dist/man/XAllowEvents.man up to 1.1.1.4 external/mit/libX11/dist/man/XAnyEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XButtonEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XChangeKeyboardControl.man up to 1.1.1.4 external/mit/libX11/dist/man/XChangeKeyboardMapping.man up to 1.1.1.5 external/mit/libX11/dist/man/XChangePointerControl.man up to 1.1.1.4 external/mit/libX11/dist/man/XChangeSaveSet.man up to 1.1.1.4 external/mit/libX11/dist/man/XChangeWindowAttributes.man up to 1.1.1.4 external/mit/libX11/dist/man/XCirculateEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XCirculateRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XClearArea.man up to 1.1.1.4 external/mit/libX11/dist/man/XClientMessageEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XColormapEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XConfigureEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XConfigureRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XConfigureWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XCopyArea.man up to 1.1.1.5 external/mit/libX11/dist/man/XCreateColormap.man up to 1.1.1.5 external/mit/libX11/dist/man/XCreateFontCursor.man up to 1.1.1.6 external/mit/libX11/dist/man/XCreateFontSet.man up to 1.1.1.5 external/mit/libX11/dist/man/XCreateGC.man up to 1.5 external/mit/libX11/dist/man/XCreateIC.man up to 1.1.1.4 external/mit/libX11/dist/man/XCreateOC.man up to 1.1.1.5 external/mit/libX11/dist/man/XCreatePixmap.man up to 1.1.1.4 external/mit/libX11/dist/man/XCreateRegion.man up to 1.1.1.4 external/mit/libX11/dist/man/XCreateWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XCreateWindowEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XCrossingEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XDefineCursor.man up to 1.1.1.4 external/mit/libX11/dist/man/XDestroyWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XDestroyWindowEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawArc.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawImageString.man up to 1.1.1.5 external/mit/libX11/dist/man/XDrawLine.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawPoint.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawRectangle.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawString.man up to 1.1.1.5 external/mit/libX11/dist/man/XDrawText.man up to 1.1.1.4 external/mit/libX11/dist/man/XEmptyRegion.man up to 1.1.1.4 external/mit/libX11/dist/man/XErrorEvent.man up to 1.1.1.5 external/mit/libX11/dist/man/XExposeEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XExtentsOfFontSet.man up to 1.1.1.4 external/mit/libX11/dist/man/XFillRectangle.man up to 1.1.1.4 external/mit/libX11/dist/man/XFilterEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XFlush.man up to 1.1.1.4 external/mit/libX11/dist/man/XFocusChangeEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XFontSetExtents.man up to 1.1.1.4 external/mit/libX11/dist/man/XFontsOfFontSet.man up to 1.1.1.4 external/mit/libX11/dist/man/XFree.man up to 1.1.1.5 external/mit/libX11/dist/man/XGetEventData.man up to 1.1.1.3 external/mit/libX11/dist/man/XGetVisualInfo.man up to 1.1.1.4 external/mit/libX11/dist/man/XGetWindowAttributes.man up to 1.1.1.4 external/mit/libX11/dist/man/XGetWindowProperty.man up to 1.1.1.5 external/mit/libX11/dist/man/XGetXCBConnection.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabButton.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabKey.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabKeyboard.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabPointer.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabServer.man up to 1.1.1.4 external/mit/libX11/dist/man/XGraphicsExposeEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XGravityEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XIconifyWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XIfEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XInitImage.man up to 1.1.1.4 external/mit/libX11/dist/man/XInitThreads.man up to 1.1.1.4 external/mit/libX11/dist/man/XInstallColormap.man up to 1.1.1.4 external/mit/libX11/dist/man/XInternAtom.man up to 1.1.1.5 external/mit/libX11/dist/man/XIntersectRegion.man up to 1.1.1.4 external/mit/libX11/dist/man/XKeymapEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XListFonts.man up to 1.1.1.5 external/mit/libX11/dist/man/XLoadFont.man up to 1.1.1.5 external/mit/libX11/dist/man/XLookupKeysym.man up to 1.1.1.5 external/mit/libX11/dist/man/XMapEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XMapRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XMapWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XNextEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XNoOp.man up to 1.1.1.4 external/mit/libX11/dist/man/XOpenDisplay.man up to 1.1.1.5 external/mit/libX11/dist/man/XOpenIM.man up to 1.1.1.4 external/mit/libX11/dist/man/XOpenOM.man up to 1.1.1.5 external/mit/libX11/dist/man/XParseGeometry.man up to 1.1.1.5 external/mit/libX11/dist/man/XPolygonRegion.man up to 1.1.1.4 external/mit/libX11/dist/man/XPropertyEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XPutBackEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XPutImage.man up to 1.1.1.4 external/mit/libX11/dist/man/XQueryBestSize.man up to 1.1.1.4 external/mit/libX11/dist/man/XQueryColor.man up to 1.1.1.5 external/mit/libX11/dist/man/XQueryExtension.man up to 1.1.1.2 external/mit/libX11/dist/man/XQueryPointer.man up to 1.1.1.4 external/mit/libX11/dist/man/XQueryTree.man up to 1.1.1.4 external/mit/libX11/dist/man/XRaiseWindow.man up to 1.1.1.5 external/mit/libX11/dist/man/XReadBitmapFile.man up to 1.1.1.6 external/mit/libX11/dist/man/XRecolorCursor.man up to 1.1.1.4 external/mit/libX11/dist/man/XReparentEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XReparentWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XResizeRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XResourceManagerString.man up to 1.1.1.4 external/mit/libX11/dist/man/XSaveContext.man up to 1.1.1.5 external/mit/libX11/dist/man/XSelectInput.man up to 1.1.1.4 external/mit/libX11/dist/man/XSelectionClearEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XSelectionEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XSelectionRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XSendEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetArcMode.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetClipOrigin.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetCloseDownMode.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetCommand.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetErrorHandler.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetEventQueueOwner.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetFillStyle.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetFont.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetFontPath.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetICFocus.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetICValues.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetInputFocus.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetLineAttributes.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetPointerMapping.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetScreenSaver.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetSelectionOwner.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetState.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetTextProperty.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetTile.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetTransientForHint.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetWMClientMachine.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetWMColormapWindows.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetWMIconName.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetWMName.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetWMProperties.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetWMProtocols.man up to 1.1.1.4 external/mit/libX11/dist/man/XStoreBytes.man up to 1.1.1.5 external/mit/libX11/dist/man/XStoreColors.man up to 1.1.1.5 external/mit/libX11/dist/man/XStringListToTextProperty.man up to 1.1.1.4 external/mit/libX11/dist/man/XStringToKeysym.man up to 1.1.1.6 external/mit/libX11/dist/man/XSupportsLocale.man up to 1.1.1.5 external/mit/libX11/dist/man/XSynchronize.man up to 1.1.1.4 external/mit/libX11/dist/man/XTextExtents.man up to 1.1.1.5 external/mit/libX11/dist/man/XTextWidth.man up to 1.1.1.5 external/mit/libX11/dist/man/XTranslateCoordinates.man up to 1.1.1.4 external/mit/libX11/dist/man/XUnmapEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XUnmapWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XVaCreateNestedList.man up to 1.1.1.4 external/mit/libX11/dist/man/XVisibilityEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XWarpPointer.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsAllocColor.man up to 1.1.1.5 external/mit/libX11/dist/man/XcmsCCCOfColormap.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsCIELabQueryMaxC.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsCIELuvQueryMaxC.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsColor.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsConvertColors.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsCreateCCC.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsDefaultCCC.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsQueryBlack.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsQueryColor.man up to 1.1.1.5 external/mit/libX11/dist/man/XcmsSetWhitePoint.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsStoreColor.man up to 1.1.1.5 external/mit/libX11/dist/man/XcmsTekHVCQueryMaxC.man up to 1.1.1.4 external/mit/libX11/dist/man/XmbDrawImageString.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbDrawString.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbDrawText.man up to 1.1.1.4 external/mit/libX11/dist/man/XmbLookupString.man up to 1.1.1.4 external/mit/libX11/dist/man/XmbResetIC.man up to 1.1.1.4 external/mit/libX11/dist/man/XmbTextEscapement.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbTextExtents.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbTextListToTextProperty.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbTextPerCharExtents.man up to 1.1.1.5 external/mit/libX11/dist/man/XrmEnumerateDatabase.man up to 1.1.1.4 external/mit/libX11/dist/man/XrmGetFileDatabase.man up to 1.1.1.6 external/mit/libX11/dist/man/XrmGetResource.man up to 1.1.1.4 external/mit/libX11/dist/man/XrmInitialize.man up to 1.1.1.5 external/mit/libX11/dist/man/XrmMergeDatabases.man up to 1.1.1.5 external/mit/libX11/dist/man/XrmPutResource.man up to 1.1.1.5 external/mit/libX11/dist/man/XrmUniqueQuark.man up to 1.1.1.5 external/mit/libX11/dist/man/xkb/Makefile.am up to 1.1.1.6 external/mit/libX11/dist/man/xkb/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/man/xkb/XkbAddGeomOverlayRow.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbBell.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbBellEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbChangeControls.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbDeviceBell.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbDeviceBellEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbForceBell.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbForceDeviceBell.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbFreeIndicatorMaps.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbFreeKeyboard.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbGetAccessXTimeout.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbGetNamedIndicator.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbInitCanonicalKeyTypes.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbKeyNumGroups.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbOpenDisplay.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbSelectEvents.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbSetNamedIndicator.man up to 1.1.1.4 external/mit/libX11/dist/modules/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/im/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/im/ximcp/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/im/ximcp/imCallbk.c up to 1.1.1.9 external/mit/libX11/dist/modules/im/ximcp/imDefIc.c up to 1.1.1.10 external/mit/libX11/dist/modules/im/ximcp/imDefIm.c up to 1.1.1.10 external/mit/libX11/dist/modules/im/ximcp/imInsClbk.c up to 1.1.1.7 external/mit/libX11/dist/modules/im/ximcp/imLcFlt.c up to 1.1.1.8 external/mit/libX11/dist/modules/im/ximcp/imLcIm.c up to 1.1.1.10 external/mit/libX11/dist/modules/im/ximcp/imLcLkup.c up to 1.3 external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c up to 1.2 external/mit/libX11/dist/modules/im/ximcp/imThaiFlt.c up to 1.1.1.7 external/mit/libX11/dist/modules/lc/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/lc/Utf8/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/lc/def/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/lc/gen/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/om/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/om/generic/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/om/generic/omGeneric.c up to 1.1.1.10 external/mit/libX11/dist/nls/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/nls/compose.dir.pre up to 1.1.1.9 external/mit/libX11/dist/nls/locale.alias.pre up to 1.1.1.10 external/mit/libX11/dist/nls/locale.dir.pre up to 1.1.1.9 external/mit/libX11/dist/nls/en_US.UTF-8/Compose.pre up to 1.6 external/mit/libX11/dist/nls/fi_FI.UTF-8/Compose.pre up to 1.1.1.6 external/mit/libX11/dist/nls/th_TH/XLC_LOCALE.pre up to 1.1.1.5 external/mit/libX11/dist/nls/th_TH.UTF-8/XLC_LOCALE.pre up to 1.1.1.4 external/mit/libX11/dist/specs/Makefile.in up to 1.1.1.16 external/mit/libX11/dist/specs/XIM/Makefile.in up to 1.1.1.16 external/mit/libX11/dist/specs/XIM/xim.xml up to 1.1.1.3 external/mit/libX11/dist/specs/XKB/Makefile.in up to 1.1.1.12 external/mit/libX11/dist/specs/XKB/ch08.xml up to 1.1.1.4 external/mit/libX11/dist/specs/XKB/ch13.xml up to 1.1.1.5 external/mit/libX11/dist/specs/i18n/Makefile.in up to 1.1.1.16 external/mit/libX11/dist/specs/i18n/compose/Makefile.in up to 1.1.1.9 external/mit/libX11/dist/specs/i18n/compose/compose-chart.pl up to 1.1.1.2 external/mit/libX11/dist/specs/i18n/framework/Makefile.in up to 1.1.1.12 external/mit/libX11/dist/specs/i18n/framework/framework.xml up to 1.1.1.5 external/mit/libX11/dist/specs/i18n/localedb/Makefile.in up to 1.1.1.12 external/mit/libX11/dist/specs/i18n/trans/Makefile.in up to 1.1.1.12 external/mit/libX11/dist/specs/libX11/AppC.xml up to 1.1.1.8 external/mit/libX11/dist/specs/libX11/CH01.xml up to 1.1.1.5 external/mit/libX11/dist/specs/libX11/CH13.xml up to 1.1.1.7 external/mit/libX11/dist/specs/libX11/CH14.xml up to 1.1.1.7 external/mit/libX11/dist/specs/libX11/Makefile.in up to 1.1.1.16 external/mit/libX11/dist/src/Context.c up to 1.1.1.6 external/mit/libX11/dist/src/CopyCmap.c up to 1.1.1.5 external/mit/libX11/dist/src/CrCmap.c up to 1.1.1.3 external/mit/libX11/dist/src/Depths.c up to 1.1.1.5 external/mit/libX11/dist/src/DisName.c up to 1.1.1.4 external/mit/libX11/dist/src/ErrDes.c up to 1.1.1.6 external/mit/libX11/dist/src/FSWrap.c up to 1.1.1.8 external/mit/libX11/dist/src/FetchName.c up to 1.1.1.6 external/mit/libX11/dist/src/Font.c up to 1.7 external/mit/libX11/dist/src/FontInfo.c up to 1.1.1.9 external/mit/libX11/dist/src/FontNames.c up to 1.9 external/mit/libX11/dist/src/FreeCmap.c up to 1.1.1.3 external/mit/libX11/dist/src/GetAtomNm.c up to 1.1.1.7 external/mit/libX11/dist/src/GetColor.c up to 1.1.1.4 external/mit/libX11/dist/src/GetDflt.c up to 1.1.1.5 external/mit/libX11/dist/src/GetFPath.c up to 1.7 external/mit/libX11/dist/src/GetHints.c up to 1.1.1.7 external/mit/libX11/dist/src/GetIFocus.c up to 1.1.1.5 external/mit/libX11/dist/src/GetImage.c up to 1.1.1.7 external/mit/libX11/dist/src/GetKCnt.c up to 1.1.1.5 external/mit/libX11/dist/src/GetMoEv.c up to 1.1.1.6 external/mit/libX11/dist/src/GetPCnt.c up to 1.1.1.5 external/mit/libX11/dist/src/GetPntMap.c up to 1.1.1.7 external/mit/libX11/dist/src/GetRGBCMap.c up to 1.1.1.7 external/mit/libX11/dist/src/GetSSaver.c up to 1.1.1.5 external/mit/libX11/dist/src/GrServer.c up to 1.1.1.3 external/mit/libX11/dist/src/Host.c up to 1.1.1.6 external/mit/libX11/dist/src/KeyBind.c up to 1.1.1.9 external/mit/libX11/dist/src/KeysymStr.c up to 1.1.1.5 external/mit/libX11/dist/src/LiHosts.c up to 1.1.1.6 external/mit/libX11/dist/src/LiICmaps.c up to 1.1.1.6 external/mit/libX11/dist/src/LiProps.c up to 1.1.1.5 external/mit/libX11/dist/src/ListExt.c up to 1.7 external/mit/libX11/dist/src/LoadFont.c up to 1.1.1.4 external/mit/libX11/dist/src/LookupCol.c up to 1.1.1.4 external/mit/libX11/dist/src/Macros.c up to 1.1.1.6 external/mit/libX11/dist/src/Makefile.am up to 1.1.1.13 external/mit/libX11/dist/src/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/src/ModMap.c up to 1.8 external/mit/libX11/dist/src/OpenDis.c up to 1.1.1.12 external/mit/libX11/dist/src/ParseCol.c up to 1.1.1.4 external/mit/libX11/dist/src/PixFormats.c up to 1.1.1.4 external/mit/libX11/dist/src/PolyReg.c up to 1.1.1.6 external/mit/libX11/dist/src/PolyTxt.c up to 1.1.1.4 external/mit/libX11/dist/src/PutImage.c up to 1.1.1.8 external/mit/libX11/dist/src/QuColors.c up to 1.1.1.6 external/mit/libX11/dist/src/QuExt.c up to 1.1.1.5 external/mit/libX11/dist/src/QuKeybd.c up to 1.1.1.5 external/mit/libX11/dist/src/QuTree.c up to 1.1.1.6 external/mit/libX11/dist/src/Quarks.c up to 1.1.1.8 external/mit/libX11/dist/src/RdBitF.c up to 1.1.1.8 external/mit/libX11/dist/src/ReconfWM.c up to 1.1.1.5 external/mit/libX11/dist/src/Region.c up to 1.1.1.9 external/mit/libX11/dist/src/SetFPath.c up to 1.1.1.5 external/mit/libX11/dist/src/SetHints.c up to 1.1.1.8 external/mit/libX11/dist/src/SetLocale.c up to 1.1.1.6 external/mit/libX11/dist/src/SetRGBCMap.c up to 1.1.1.5 external/mit/libX11/dist/src/StColor.c up to 1.1.1.4 external/mit/libX11/dist/src/StColors.c up to 1.1.1.4 external/mit/libX11/dist/src/StNColor.c up to 1.1.1.3 external/mit/libX11/dist/src/StName.c up to 1.1.1.5 external/mit/libX11/dist/src/StrKeysym.c up to 1.1.1.5 external/mit/libX11/dist/src/Sync.c up to 1.1.1.4 external/mit/libX11/dist/src/Text.c up to 1.1.1.4 external/mit/libX11/dist/src/TextToStr.c up to 1.1.1.6 external/mit/libX11/dist/src/UngrabSvr.c up to 1.1.1.3 external/mit/libX11/dist/src/VisUtil.c up to 1.1.1.6 external/mit/libX11/dist/src/WMProps.c up to 1.1.1.4 external/mit/libX11/dist/src/WrBitF.c up to 1.1.1.5 external/mit/libX11/dist/src/XlibInt.c up to 1.13 external/mit/libX11/dist/src/Xrm.c up to 1.1.1.10 external/mit/libX11/dist/src/config.h.in up to 1.1.1.12 external/mit/libX11/dist/src/globals.c up to 1.1.1.7 external/mit/libX11/dist/src/imConv.c up to 1.1.1.5 external/mit/libX11/dist/src/os2Stubs.c up to 1.1.1.4 external/mit/libX11/dist/src/xcb_io.c up to 1.1.1.14 external/mit/libX11/dist/src/util/Makefile.am up to 1.1.1.8 external/mit/libX11/dist/src/util/Makefile.in up to 1.1.1.20 external/mit/libX11/dist/src/util/makekeys.c up to 1.1.1.9 external/mit/libX11/dist/src/xcms/CvCols.c up to 1.1.1.5 external/mit/libX11/dist/src/xcms/HVCGcVC.c up to 1.1.1.4 external/mit/libX11/dist/src/xcms/HVCMxC.c up to 1.1.1.4 external/mit/libX11/dist/src/xcms/LRGB.c up to 1.1.1.9 external/mit/libX11/dist/src/xcms/Lab.c up to 1.1.1.5 external/mit/libX11/dist/src/xcms/Luv.c up to 1.1.1.5 external/mit/libX11/dist/src/xcms/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/src/xcms/StCols.c up to 1.1.1.5 external/mit/libX11/dist/src/xcms/cmsAllNCol.c up to 1.1.1.5 external/mit/libX11/dist/src/xcms/cmsCmap.c up to 1.1.1.6 external/mit/libX11/dist/src/xcms/cmsColNm.c up to 1.1.1.10 external/mit/libX11/dist/src/xcms/cmsInt.c up to 1.1.1.7 external/mit/libX11/dist/src/xcms/cmsLkCol.c up to 1.1.1.6 external/mit/libX11/dist/src/xcms/cmsProp.c up to 1.1.1.6 external/mit/libX11/dist/src/xcms/xyY.c up to 1.1.1.5 external/mit/libX11/dist/src/xkb/Makefile.am up to 1.1.1.5 external/mit/libX11/dist/src/xkb/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/src/xkb/XKB.c up to 1.1.1.8 external/mit/libX11/dist/src/xkb/XKBAlloc.c up to 1.1.1.10 external/mit/libX11/dist/src/xkb/XKBBind.c up to 1.1.1.8 external/mit/libX11/dist/src/xkb/XKBExtDev.c up to 1.1.1.9 external/mit/libX11/dist/src/xkb/XKBGAlloc.c up to 1.1.1.11 external/mit/libX11/dist/src/xkb/XKBGeom.c up to 1.1.1.9 external/mit/libX11/dist/src/xkb/XKBGetByName.c up to 1.1.1.7 external/mit/libX11/dist/src/xkb/XKBGetMap.c up to 1.1.1.7 external/mit/libX11/dist/src/xkb/XKBList.c up to 1.1.1.7 external/mit/libX11/dist/src/xkb/XKBMAlloc.c up to 1.4 external/mit/libX11/dist/src/xkb/XKBMisc.c up to 1.1.1.8 external/mit/libX11/dist/src/xkb/XKBNames.c up to 1.1.1.9 external/mit/libX11/dist/src/xkb/XKBRdBuf.c up to 1.1.1.8 external/mit/libX11/dist/src/xkb/XKBSetGeom.c up to 1.1.1.7 external/mit/libX11/dist/src/xkb/XKBlibint.h up to 1.1.1.6 external/mit/libX11/dist/src/xlibi18n/ICWrap.c up to 1.1.1.9 external/mit/libX11/dist/src/xlibi18n/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/src/xlibi18n/XDefaultIMIF.c up to 1.1.1.9 external/mit/libX11/dist/src/xlibi18n/XDefaultOMIF.c up to 1.1.1.10 external/mit/libX11/dist/src/xlibi18n/XlcDL.c up to 1.9 external/mit/libX11/dist/src/xlibi18n/XlcPublic.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/Xlcint.h up to 1.1.1.5 external/mit/libX11/dist/src/xlibi18n/imKStoUCS.c up to 1.1.1.5 external/mit/libX11/dist/src/xlibi18n/lcCT.c up to 1.1.1.6 external/mit/libX11/dist/src/xlibi18n/lcCharSet.c up to 1.1.1.7 external/mit/libX11/dist/src/xlibi18n/lcDB.c up to 1.1.1.8 external/mit/libX11/dist/src/xlibi18n/lcFile.c up to 1.1.1.9 external/mit/libX11/dist/src/xlibi18n/lcGeneric.c up to 1.1.1.10 external/mit/libX11/dist/src/xlibi18n/lcPrTxt.c up to 1.1.1.8 external/mit/libX11/dist/src/xlibi18n/lcPublic.c up to 1.1.1.8 external/mit/libX11/dist/src/xlibi18n/lcStd.c up to 1.1.1.5 external/mit/libX11/dist/src/xlibi18n/lcTxtPr.c up to 1.1.1.5 external/mit/libX11/dist/src/xlibi18n/lcUTF8.c up to 1.1.1.7 external/mit/libX11/dist/src/xlibi18n/lcUtil.c up to 1.1.1.4 external/mit/libX11/dist/src/xlibi18n/lcWrap.c up to 1.1.1.7 external/mit/libX11/dist/src/xlibi18n/lcUniConv/armscii_8.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/cp1133.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/cp1251.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/cp1255.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/cp1256.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/georgian_academy.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/georgian_ps.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_1.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_10.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_11.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_13.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_14.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_15.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_16.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_2.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_3.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_4.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_5.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_6.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_7.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_8.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_9.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_9e.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/jisx0201.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/koi8_c.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/koi8_r.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/koi8_u.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/mulelao.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/tatar_cyr.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/tcvn.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/tis620.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/utf8.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/viscii.h up to 1.1.1.3 Update libX11 from 1.6.5 to 1.6.10 plus a cherry picked regression fix. 1.6.10 fixes CVE-2020-14344 (Heap corruption in the X input method client in libX11). 1.6.9 fixes a deadlock bug in _XReply. 1.6.6 fixes CVE-2018-14599, CVE-2018-14600, CVE-2018-14598. @ text @d2359 1 a2359 1 row to be overlaid in the section overlay d3670 1 a3670 1 XkbAllocGeomOverlays d3766 1 a3766 1 XkbOverlayPtr overlay d3777 1 a3777 1 overlay for which rows should be allocated d3890 1 a3890 1 XkbOverlayRowPtr row d3901 1 a3901 1 row for which keys should be allocated d3941 1 a3941 1 XkbOverlayRowPtr row @ 1.1.1.4 log @initial import of libX11-1.6.8 @ text @d3670 1 a3670 1 XkbAllocGeomOverlays d3766 1 a3766 1 XkbOverlayPtr overlay d3777 1 a3777 1 overlay for which rows should be allocated d3890 1 a3890 1 XkbOverlayRowPtr row d3901 1 a3901 1 row for which keys should be allocated d3941 1 a3941 1 XkbOverlayRowPtr row @ 1.1.1.4.2.1 log @Sync external/mit/libX11 with HEAD, requested by maya in ticket #1033: external/mit/libX11/dist/include/X11/extensions/XKBgeom.h up to 1.1.1.1 external/mit/libX11/dist/ChangeLog up to 1.1.1.21 external/mit/libX11/dist/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/README.md up to 1.1.1.2 external/mit/libX11/dist/aclocal.m4 up to 1.1.1.19 external/mit/libX11/dist/compile up to 1.1.1.7 external/mit/libX11/dist/config.guess up to 1.1.1.14 external/mit/libX11/dist/config.sub up to 1.1.1.13 external/mit/libX11/dist/configure up to 1.1.1.21 external/mit/libX11/dist/configure.ac up to 1.1.1.21 external/mit/libX11/dist/depcomp up to 1.1.1.10 external/mit/libX11/dist/install-sh up to 1.1.1.10 external/mit/libX11/dist/ltmain.sh up to 1.1.1.14 external/mit/libX11/dist/missing up to 1.1.1.9 external/mit/libX11/dist/test-driver up to 1.1.1.7 external/mit/libX11/dist/include/Makefile.am up to 1.1.1.3 external/mit/libX11/dist/include/Makefile.in up to 1.1.1.20 external/mit/libX11/dist/include/X11/Xlib.h up to 1.1.1.9 external/mit/libX11/dist/include/X11/Xlibint.h up to 1.1.1.12 external/mit/libX11/dist/m4/libtool.m4 up to 1.9 external/mit/libX11/dist/man/AllPlanes.man up to 1.1.1.5 external/mit/libX11/dist/man/BlackPixelOfScreen.man up to 1.1.1.4 external/mit/libX11/dist/man/Compose.man up to 1.1.1.6 external/mit/libX11/dist/man/DisplayOfCCC.man up to 1.1.1.5 external/mit/libX11/dist/man/ImageByteOrder.man up to 1.1.1.4 external/mit/libX11/dist/man/IsCursorKey.man up to 1.1.1.4 external/mit/libX11/dist/man/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/man/XAddConnectionWatch.man up to 1.1.1.5 external/mit/libX11/dist/man/XAddHost.man up to 1.1.1.6 external/mit/libX11/dist/man/XAllocClassHint.man up to 1.1.1.4 external/mit/libX11/dist/man/XAllocColor.man up to 1.1.1.6 external/mit/libX11/dist/man/XAllocIconSize.man up to 1.1.1.5 external/mit/libX11/dist/man/XAllocSizeHints.man up to 1.1.1.4 external/mit/libX11/dist/man/XAllocStandardColormap.man up to 1.1.1.4 external/mit/libX11/dist/man/XAllocWMHints.man up to 1.1.1.4 external/mit/libX11/dist/man/XAllowEvents.man up to 1.1.1.4 external/mit/libX11/dist/man/XAnyEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XButtonEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XChangeKeyboardControl.man up to 1.1.1.4 external/mit/libX11/dist/man/XChangeKeyboardMapping.man up to 1.1.1.5 external/mit/libX11/dist/man/XChangePointerControl.man up to 1.1.1.4 external/mit/libX11/dist/man/XChangeSaveSet.man up to 1.1.1.4 external/mit/libX11/dist/man/XChangeWindowAttributes.man up to 1.1.1.4 external/mit/libX11/dist/man/XCirculateEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XCirculateRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XClearArea.man up to 1.1.1.4 external/mit/libX11/dist/man/XClientMessageEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XColormapEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XConfigureEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XConfigureRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XConfigureWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XCopyArea.man up to 1.1.1.5 external/mit/libX11/dist/man/XCreateColormap.man up to 1.1.1.5 external/mit/libX11/dist/man/XCreateFontCursor.man up to 1.1.1.6 external/mit/libX11/dist/man/XCreateFontSet.man up to 1.1.1.5 external/mit/libX11/dist/man/XCreateGC.man up to 1.5 external/mit/libX11/dist/man/XCreateIC.man up to 1.1.1.4 external/mit/libX11/dist/man/XCreateOC.man up to 1.1.1.5 external/mit/libX11/dist/man/XCreatePixmap.man up to 1.1.1.4 external/mit/libX11/dist/man/XCreateRegion.man up to 1.1.1.4 external/mit/libX11/dist/man/XCreateWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XCreateWindowEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XCrossingEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XDefineCursor.man up to 1.1.1.4 external/mit/libX11/dist/man/XDestroyWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XDestroyWindowEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawArc.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawImageString.man up to 1.1.1.5 external/mit/libX11/dist/man/XDrawLine.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawPoint.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawRectangle.man up to 1.1.1.4 external/mit/libX11/dist/man/XDrawString.man up to 1.1.1.5 external/mit/libX11/dist/man/XDrawText.man up to 1.1.1.4 external/mit/libX11/dist/man/XEmptyRegion.man up to 1.1.1.4 external/mit/libX11/dist/man/XErrorEvent.man up to 1.1.1.5 external/mit/libX11/dist/man/XExposeEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XExtentsOfFontSet.man up to 1.1.1.4 external/mit/libX11/dist/man/XFillRectangle.man up to 1.1.1.4 external/mit/libX11/dist/man/XFilterEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XFlush.man up to 1.1.1.4 external/mit/libX11/dist/man/XFocusChangeEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XFontSetExtents.man up to 1.1.1.4 external/mit/libX11/dist/man/XFontsOfFontSet.man up to 1.1.1.4 external/mit/libX11/dist/man/XFree.man up to 1.1.1.5 external/mit/libX11/dist/man/XGetEventData.man up to 1.1.1.3 external/mit/libX11/dist/man/XGetVisualInfo.man up to 1.1.1.4 external/mit/libX11/dist/man/XGetWindowAttributes.man up to 1.1.1.4 external/mit/libX11/dist/man/XGetWindowProperty.man up to 1.1.1.5 external/mit/libX11/dist/man/XGetXCBConnection.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabButton.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabKey.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabKeyboard.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabPointer.man up to 1.1.1.4 external/mit/libX11/dist/man/XGrabServer.man up to 1.1.1.4 external/mit/libX11/dist/man/XGraphicsExposeEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XGravityEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XIconifyWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XIfEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XInitImage.man up to 1.1.1.4 external/mit/libX11/dist/man/XInitThreads.man up to 1.1.1.4 external/mit/libX11/dist/man/XInstallColormap.man up to 1.1.1.4 external/mit/libX11/dist/man/XInternAtom.man up to 1.1.1.5 external/mit/libX11/dist/man/XIntersectRegion.man up to 1.1.1.4 external/mit/libX11/dist/man/XKeymapEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XListFonts.man up to 1.1.1.5 external/mit/libX11/dist/man/XLoadFont.man up to 1.1.1.5 external/mit/libX11/dist/man/XLookupKeysym.man up to 1.1.1.5 external/mit/libX11/dist/man/XMapEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XMapRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XMapWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XNextEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XNoOp.man up to 1.1.1.4 external/mit/libX11/dist/man/XOpenDisplay.man up to 1.1.1.5 external/mit/libX11/dist/man/XOpenIM.man up to 1.1.1.4 external/mit/libX11/dist/man/XOpenOM.man up to 1.1.1.5 external/mit/libX11/dist/man/XParseGeometry.man up to 1.1.1.5 external/mit/libX11/dist/man/XPolygonRegion.man up to 1.1.1.4 external/mit/libX11/dist/man/XPropertyEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XPutBackEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XPutImage.man up to 1.1.1.4 external/mit/libX11/dist/man/XQueryBestSize.man up to 1.1.1.4 external/mit/libX11/dist/man/XQueryColor.man up to 1.1.1.5 external/mit/libX11/dist/man/XQueryExtension.man up to 1.1.1.2 external/mit/libX11/dist/man/XQueryPointer.man up to 1.1.1.4 external/mit/libX11/dist/man/XQueryTree.man up to 1.1.1.4 external/mit/libX11/dist/man/XRaiseWindow.man up to 1.1.1.5 external/mit/libX11/dist/man/XReadBitmapFile.man up to 1.1.1.6 external/mit/libX11/dist/man/XRecolorCursor.man up to 1.1.1.4 external/mit/libX11/dist/man/XReparentEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XReparentWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XResizeRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XResourceManagerString.man up to 1.1.1.4 external/mit/libX11/dist/man/XSaveContext.man up to 1.1.1.5 external/mit/libX11/dist/man/XSelectInput.man up to 1.1.1.4 external/mit/libX11/dist/man/XSelectionClearEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XSelectionEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XSelectionRequestEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XSendEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetArcMode.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetClipOrigin.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetCloseDownMode.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetCommand.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetErrorHandler.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetEventQueueOwner.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetFillStyle.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetFont.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetFontPath.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetICFocus.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetICValues.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetInputFocus.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetLineAttributes.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetPointerMapping.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetScreenSaver.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetSelectionOwner.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetState.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetTextProperty.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetTile.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetTransientForHint.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetWMClientMachine.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetWMColormapWindows.man up to 1.1.1.4 external/mit/libX11/dist/man/XSetWMIconName.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetWMName.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetWMProperties.man up to 1.1.1.5 external/mit/libX11/dist/man/XSetWMProtocols.man up to 1.1.1.4 external/mit/libX11/dist/man/XStoreBytes.man up to 1.1.1.5 external/mit/libX11/dist/man/XStoreColors.man up to 1.1.1.5 external/mit/libX11/dist/man/XStringListToTextProperty.man up to 1.1.1.4 external/mit/libX11/dist/man/XStringToKeysym.man up to 1.1.1.6 external/mit/libX11/dist/man/XSupportsLocale.man up to 1.1.1.5 external/mit/libX11/dist/man/XSynchronize.man up to 1.1.1.4 external/mit/libX11/dist/man/XTextExtents.man up to 1.1.1.5 external/mit/libX11/dist/man/XTextWidth.man up to 1.1.1.5 external/mit/libX11/dist/man/XTranslateCoordinates.man up to 1.1.1.4 external/mit/libX11/dist/man/XUnmapEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XUnmapWindow.man up to 1.1.1.4 external/mit/libX11/dist/man/XVaCreateNestedList.man up to 1.1.1.4 external/mit/libX11/dist/man/XVisibilityEvent.man up to 1.1.1.4 external/mit/libX11/dist/man/XWarpPointer.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsAllocColor.man up to 1.1.1.5 external/mit/libX11/dist/man/XcmsCCCOfColormap.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsCIELabQueryMaxC.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsCIELuvQueryMaxC.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsColor.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsConvertColors.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsCreateCCC.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsDefaultCCC.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsQueryBlack.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsQueryColor.man up to 1.1.1.5 external/mit/libX11/dist/man/XcmsSetWhitePoint.man up to 1.1.1.4 external/mit/libX11/dist/man/XcmsStoreColor.man up to 1.1.1.5 external/mit/libX11/dist/man/XcmsTekHVCQueryMaxC.man up to 1.1.1.4 external/mit/libX11/dist/man/XmbDrawImageString.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbDrawString.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbDrawText.man up to 1.1.1.4 external/mit/libX11/dist/man/XmbLookupString.man up to 1.1.1.4 external/mit/libX11/dist/man/XmbResetIC.man up to 1.1.1.4 external/mit/libX11/dist/man/XmbTextEscapement.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbTextExtents.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbTextListToTextProperty.man up to 1.1.1.5 external/mit/libX11/dist/man/XmbTextPerCharExtents.man up to 1.1.1.5 external/mit/libX11/dist/man/XrmEnumerateDatabase.man up to 1.1.1.4 external/mit/libX11/dist/man/XrmGetFileDatabase.man up to 1.1.1.6 external/mit/libX11/dist/man/XrmGetResource.man up to 1.1.1.4 external/mit/libX11/dist/man/XrmInitialize.man up to 1.1.1.5 external/mit/libX11/dist/man/XrmMergeDatabases.man up to 1.1.1.5 external/mit/libX11/dist/man/XrmPutResource.man up to 1.1.1.5 external/mit/libX11/dist/man/XrmUniqueQuark.man up to 1.1.1.5 external/mit/libX11/dist/man/xkb/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/man/xkb/XkbAddGeomOverlayRow.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbFreeIndicatorMaps.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbFreeKeyboard.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbGetAccessXTimeout.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbInitCanonicalKeyTypes.man up to 1.1.1.4 external/mit/libX11/dist/man/xkb/XkbSelectEvents.man up to 1.1.1.4 external/mit/libX11/dist/modules/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/im/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/im/ximcp/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/im/ximcp/imCallbk.c up to 1.1.1.9 external/mit/libX11/dist/modules/im/ximcp/imDefIc.c up to 1.1.1.10 external/mit/libX11/dist/modules/im/ximcp/imDefIm.c up to 1.1.1.10 external/mit/libX11/dist/modules/im/ximcp/imLcFlt.c up to 1.1.1.8 external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c up to 1.2 external/mit/libX11/dist/modules/im/ximcp/imThaiFlt.c up to 1.1.1.7 external/mit/libX11/dist/modules/lc/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/lc/Utf8/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/lc/def/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/lc/gen/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/om/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/om/generic/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/modules/om/generic/omGeneric.c up to 1.1.1.10 external/mit/libX11/dist/nls/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/nls/en_US.UTF-8/Compose.pre up to 1.6 external/mit/libX11/dist/nls/fi_FI.UTF-8/Compose.pre up to 1.1.1.6 external/mit/libX11/dist/nls/th_TH/XLC_LOCALE.pre up to 1.1.1.5 external/mit/libX11/dist/nls/th_TH.UTF-8/XLC_LOCALE.pre up to 1.1.1.4 external/mit/libX11/dist/specs/Makefile.in up to 1.1.1.16 external/mit/libX11/dist/specs/XIM/Makefile.in up to 1.1.1.16 external/mit/libX11/dist/specs/XIM/xim.xml up to 1.1.1.3 external/mit/libX11/dist/specs/XKB/Makefile.in up to 1.1.1.12 external/mit/libX11/dist/specs/XKB/ch13.xml up to 1.1.1.5 external/mit/libX11/dist/specs/i18n/Makefile.in up to 1.1.1.16 external/mit/libX11/dist/specs/i18n/compose/Makefile.in up to 1.1.1.9 external/mit/libX11/dist/specs/i18n/compose/compose-chart.pl up to 1.1.1.2 external/mit/libX11/dist/specs/i18n/framework/Makefile.in up to 1.1.1.12 external/mit/libX11/dist/specs/i18n/framework/framework.xml up to 1.1.1.5 external/mit/libX11/dist/specs/i18n/localedb/Makefile.in up to 1.1.1.12 external/mit/libX11/dist/specs/i18n/trans/Makefile.in up to 1.1.1.12 external/mit/libX11/dist/specs/libX11/AppC.xml up to 1.1.1.8 external/mit/libX11/dist/specs/libX11/CH01.xml up to 1.1.1.5 external/mit/libX11/dist/specs/libX11/CH13.xml up to 1.1.1.7 external/mit/libX11/dist/specs/libX11/CH14.xml up to 1.1.1.7 external/mit/libX11/dist/specs/libX11/Makefile.in up to 1.1.1.16 external/mit/libX11/dist/src/Context.c up to 1.1.1.6 external/mit/libX11/dist/src/CopyCmap.c up to 1.1.1.5 external/mit/libX11/dist/src/ErrDes.c up to 1.1.1.6 external/mit/libX11/dist/src/FSWrap.c up to 1.1.1.8 external/mit/libX11/dist/src/FetchName.c up to 1.1.1.6 external/mit/libX11/dist/src/Font.c up to 1.7 external/mit/libX11/dist/src/FontInfo.c up to 1.1.1.9 external/mit/libX11/dist/src/FontNames.c up to 1.9 external/mit/libX11/dist/src/GetColor.c up to 1.1.1.4 external/mit/libX11/dist/src/GetDflt.c up to 1.1.1.5 external/mit/libX11/dist/src/GetHints.c up to 1.1.1.7 external/mit/libX11/dist/src/Host.c up to 1.1.1.6 external/mit/libX11/dist/src/KeyBind.c up to 1.1.1.9 external/mit/libX11/dist/src/KeysymStr.c up to 1.1.1.5 external/mit/libX11/dist/src/LoadFont.c up to 1.1.1.4 external/mit/libX11/dist/src/LookupCol.c up to 1.1.1.4 external/mit/libX11/dist/src/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/src/OpenDis.c up to 1.1.1.12 external/mit/libX11/dist/src/ParseCol.c up to 1.1.1.4 external/mit/libX11/dist/src/PolyTxt.c up to 1.1.1.4 external/mit/libX11/dist/src/QuExt.c up to 1.1.1.5 external/mit/libX11/dist/src/Quarks.c up to 1.1.1.8 external/mit/libX11/dist/src/Region.c up to 1.1.1.9 external/mit/libX11/dist/src/SetFPath.c up to 1.1.1.5 external/mit/libX11/dist/src/SetHints.c up to 1.1.1.8 external/mit/libX11/dist/src/SetLocale.c up to 1.1.1.6 external/mit/libX11/dist/src/StNColor.c up to 1.1.1.3 external/mit/libX11/dist/src/StName.c up to 1.1.1.5 external/mit/libX11/dist/src/Text.c up to 1.1.1.4 external/mit/libX11/dist/src/WMProps.c up to 1.1.1.4 external/mit/libX11/dist/src/XlibInt.c up to 1.13 external/mit/libX11/dist/src/Xrm.c up to 1.1.1.10 external/mit/libX11/dist/src/config.h.in up to 1.1.1.12 external/mit/libX11/dist/src/globals.c up to 1.1.1.7 external/mit/libX11/dist/src/imConv.c up to 1.1.1.5 external/mit/libX11/dist/src/os2Stubs.c up to 1.1.1.4 external/mit/libX11/dist/src/reallocarray.h up to 1.1.1.2 external/mit/libX11/dist/src/util/Makefile.am up to 1.1.1.8 external/mit/libX11/dist/src/util/Makefile.in up to 1.1.1.20 external/mit/libX11/dist/src/util/makekeys.c up to 1.1.1.9 external/mit/libX11/dist/src/xcms/HVCGcVC.c up to 1.1.1.4 external/mit/libX11/dist/src/xcms/HVCMxC.c up to 1.1.1.4 external/mit/libX11/dist/src/xcms/LRGB.c up to 1.1.1.9 external/mit/libX11/dist/src/xcms/Lab.c up to 1.1.1.5 external/mit/libX11/dist/src/xcms/Luv.c up to 1.1.1.5 external/mit/libX11/dist/src/xcms/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/src/xcms/cmsAllNCol.c up to 1.1.1.5 external/mit/libX11/dist/src/xcms/cmsColNm.c up to 1.1.1.10 external/mit/libX11/dist/src/xcms/cmsInt.c up to 1.1.1.7 external/mit/libX11/dist/src/xcms/cmsLkCol.c up to 1.1.1.6 external/mit/libX11/dist/src/xcms/cmsProp.c up to 1.1.1.6 external/mit/libX11/dist/src/xcms/xyY.c up to 1.1.1.5 external/mit/libX11/dist/src/xkb/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/src/xkb/XKB.c up to 1.1.1.8 external/mit/libX11/dist/src/xkb/XKBAlloc.c up to 1.1.1.10 external/mit/libX11/dist/src/xkb/XKBBind.c up to 1.1.1.8 external/mit/libX11/dist/src/xkb/XKBExtDev.c up to 1.1.1.9 external/mit/libX11/dist/src/xkb/XKBGAlloc.c up to 1.1.1.11 external/mit/libX11/dist/src/xkb/XKBGeom.c up to 1.1.1.9 external/mit/libX11/dist/src/xkb/XKBGetByName.c up to 1.1.1.7 external/mit/libX11/dist/src/xkb/XKBList.c up to 1.1.1.7 external/mit/libX11/dist/src/xkb/XKBMisc.c up to 1.1.1.8 external/mit/libX11/dist/src/xkb/XKBRdBuf.c up to 1.1.1.8 external/mit/libX11/dist/src/xkb/XKBSetGeom.c up to 1.1.1.7 external/mit/libX11/dist/src/xlibi18n/ICWrap.c up to 1.1.1.9 external/mit/libX11/dist/src/xlibi18n/Makefile.in up to 1.1.1.19 external/mit/libX11/dist/src/xlibi18n/XDefaultIMIF.c up to 1.1.1.9 external/mit/libX11/dist/src/xlibi18n/XDefaultOMIF.c up to 1.1.1.10 external/mit/libX11/dist/src/xlibi18n/XlcPublic.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/Xlcint.h up to 1.1.1.5 external/mit/libX11/dist/src/xlibi18n/imKStoUCS.c up to 1.1.1.5 external/mit/libX11/dist/src/xlibi18n/lcCT.c up to 1.1.1.6 external/mit/libX11/dist/src/xlibi18n/lcCharSet.c up to 1.1.1.7 external/mit/libX11/dist/src/xlibi18n/lcDB.c up to 1.1.1.8 external/mit/libX11/dist/src/xlibi18n/lcFile.c up to 1.1.1.9 external/mit/libX11/dist/src/xlibi18n/lcGeneric.c up to 1.1.1.10 external/mit/libX11/dist/src/xlibi18n/lcPrTxt.c up to 1.1.1.8 external/mit/libX11/dist/src/xlibi18n/lcPublic.c up to 1.1.1.8 external/mit/libX11/dist/src/xlibi18n/lcStd.c up to 1.1.1.5 external/mit/libX11/dist/src/xlibi18n/lcTxtPr.c up to 1.1.1.5 external/mit/libX11/dist/src/xlibi18n/lcUTF8.c up to 1.1.1.7 external/mit/libX11/dist/src/xlibi18n/lcUtil.c up to 1.1.1.4 external/mit/libX11/dist/src/xlibi18n/lcWrap.c up to 1.1.1.7 external/mit/libX11/dist/src/xlibi18n/lcUniConv/armscii_8.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/cp1133.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/cp1251.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/cp1255.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/cp1256.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/georgian_academy.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/georgian_ps.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_1.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_10.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_11.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_13.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_14.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_15.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_16.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_2.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_3.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_4.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_5.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_6.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_7.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_8.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_9.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/iso8859_9e.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/jisx0201.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/koi8_c.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/koi8_r.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/koi8_u.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/mulelao.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/tatar_cyr.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/tcvn.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/tis620.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/utf8.h up to 1.1.1.3 external/mit/libX11/dist/src/xlibi18n/lcUniConv/viscii.h up to 1.1.1.3 Update libX11 from 1.6.8 to 1.6.10 (plus a cherry picked regression fix). 1.6.10 fixes CVE-2020-14344 (Heap corruption in the X input method client in libX11). 1.6.9 fixes a deadlock bug in _XReply. @ text @d2359 1 a2359 1 row to be overlaid in the section overlay @ 1.1.1.5 log @initial import of libX11-1.6.10 @ text @d2359 1 a2359 1 row to be overlaid in the section overlay @