XkbAllocCompatMap - Online Linux Manual PageSection : 3
Updated : libX11 1.8.4
Source : X Version 11
Note : XKB FUNCTIONS

NAMEXkbAllocCompatMap − Allocate a new compatibility map if you do not already have one available

SYNOPSISStatus XkbAllocCompatMap ( XkbDescPtr xkb , unsigned int which , unsigned int num_si);

ARGUMENTSxkb  keyboard description in which to allocate compat map which  mask of compatibility map components to allocate num_si  number of symbol interpretations to allocate

DESCRIPTIONxkb specifies the keyboard description for which compatibility maps are to be allocated. The compatibility map is the compat field in this structure. which specifies the compatibility map components to be allocated (see XkbGetCompatMap). which is an inclusive OR of the bits shown in Table 1. Table 1 Compatibility Map Component Masks MaskValueAffecting XkbSymInterpMask(1<<0)Symbol interpretations XkbGroupCompatMask(1<<1)Group maps XkbAllCompatMask(0x3)All compatibility map components num_si specifies the total number of entries to allocate in the symbol interpretation vector (xkb.compat.sym_interpret). XkbAllocCompatMap returns Success if successful, BadMatch if xkb is NULL, or BadAlloc if errors are encountered when attempting to allocate storage.

STRUCTURES typedef struct { KeySym sym; /​* keysym of interest or NULL */ unsigned char flags; /​* XkbSI_AutoRepeat, XkbSI_LockingKey */ unsigned char match; /​* specifies how mods is interpreted */ unsigned char mods; /​* modifier bits, correspond to eight real modifiers */ unsigned char virtual_mod; /​* 1 modifier to add to key virtual mod map */ XkbAnyAction act; /​* action to bind to symbol position on key */ } XkbSymInterpretRec,*XkbSymInterpretPtr;

DIAGNOSTICSBadAlloc  Unable to allocate storage BadMatch  A compatible version of Xkb was not available in the server or an argument has correct type and range, but is otherwise invalid

SEE ALSOXkbGetCompatMap(3)

NOTESNote that symbol interpretations in a compatibility map (the sym_interpret vector of XkbSymInterpretRec structures) are also allocated using this same function. To ensure that there is sufficient space in the symbol interpretation vector for entries to be added, use XkbAllocCompatMap specifying which as XkbSymInterpretMask and the number of free symbol interpretations needed in num_si.
0
Johanes Gumabo
Data Size   :   9,114 byte
man-XkbAllocCompatMap.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 236,248
Visitor ID   :     :  
Visitor IP   :   3.135.209.231   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.