1XKeymapEvent(3X11)              XLIB FUNCTIONS              XKeymapEvent(3X11)
2
3
4

NAME

6       XKeymapEvent - KeymapNotify event structure
7

STRUCTURES

9       The structure for KeymapNotify events contains:
10
11       /∗ generated on EnterWindow and FocusIn when KeymapState selected */
12       typedef struct {
13            int type;                /∗ KeymapNotify */
14            unsigned long serial;    /∗ # of last request processed by server */
15            Bool send_event;         /∗ true if this came from a SendEvent request */
16            Display *display;        /∗ Display the event was read from */
17            Window window;
18            char key_vector[32];
19       } XKeymapEvent;
20
21       When you receive this event, the structure members are set as follows.
22
23       The type member is set to the event type constant name that uniquely
24       identifies it.  For example, when the X server reports a GraphicsExpose
25       event to a client application, it sends an XGraphicsExposeEvent struc‐
26       ture with the type member set to GraphicsExpose.  The display member is
27       set to a pointer to the display the event was read on.  The send_event
28       member is set to True if the event came from a SendEvent protocol
29       request.  The serial member is set from the serial number reported in
30       the protocol but expanded from the 16-bit least-significant bits to a
31       full 32-bit value.  The window member is set to the window that is most
32       useful to toolkit dispatchers.
33
34       The window member is not used but is present to aid some toolkits.  The
35       key_vector member is set to the bit vector of the keyboard.  Each bit
36       set to 1 indicates that the corresponding key is currently pressed.
37       The vector is represented as 32 bytes.  Byte N (from 0) contains the
38       bits for keys 8N to 8N + 7 with the least significant bit in the byte
39       representing key 8N.
40

SEE ALSO

42       XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindowEvent(3X11), XCircu‐
43       lateEvent(3X11), XCirculateRequestEvent(3X11), XColormapEvent(3X11),
44       XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
45       XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XErrorEvent(3X11),
46       XExposeEvent(3X11), XFocusChangeEvent(3X11), XGraphicsEx‐
47       poseEvent(3X11), XGravityEvent(3X11), XMapEvent(3X11), XMapRe‐
48       questEvent(3X11), XPropertyEvent(3X11), XReparentEvent(3X11), XResiz‐
49       eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelectionEvent(3X11),
50       XSelectionRequestEvent(3X11), XUnmapEvent(3X11), XVisibilityEvent(3X11)
51       Xlib - C Language X Interface
52
53
54
55X Version 11                     libX11 1.0.3               XKeymapEvent(3X11)
Impressum