XkbRefreshKeyboardMapping(3) XKB FUNCTIONS XkbRefreshKeyboardMapping(3)

# [NAME](#NAME)

XkbRefreshKeyboardMapping - Update the keyboard description that is internal to the X library

# [SYNOPSIS](#SYNOPSIS)

**Status XkbRefreshKeyboardMapping** **(XkbMapNotifyEvent \*event);**

# [ARGUMENTS](#ARGUMENTS)

[*event*](#event)

event initiating remapping

# [DESCRIPTION](#DESCRIPTION)

*XkbRefreshKeyboardMapping* is the Xkb equivalent of the core *XRefreshKeyboardMapping* function. It requests that the X server send the current key mapping information to this client. A client usually invokes *XkbRefreshKeyboardMapping* after receiving an XkbMapNotify event. *XkbRefreshKeyboardMapping* returns Success if it succeeds and BadMatch if the event is not an Xkb event.

The XkbMapNotify event can be generated when some client calls *XkbSetMap, XkbChangeMap, XkbGetKeyboardByName,* or any of the standard X library functions that change the keyboard mapping or modifier mapping.

# [RETURN VALUES](#RETURN_VALUES)

[Success](#Success)

The *XkbRefreshKeyboardMapping* function returns Success when the request that the X server send the current key mapping information to this client is successful.

# [DIAGNOSTICS](#DIAGNOSTICS)

[**BadMatch**](#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 ALSO](#SEE_ALSO)

[**XkbChangeMap**(3)](/man/os/libx11/XkbChangeMap.3), [**XkbGetKeyboardByName**(3)](/man/os/libx11/XkbGetKeyboardByName.3), [**XkbSetMap**(3)](/man/os/libx11/XkbSetMap.3), [**XRefreshKeyboardMapping**(3)](/man/os/libx11/XRefreshKeyboardMapping.3)

libX11 1.8.14 X Version 11

---

Document: XkbRefreshKeyboardMapping(3) from libx11 1.8.14-r1 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libx11.git
