SYNOPSIS

ARGUMENTS

−
device_info

structure in which to allocate
button actions

− new_total

new total number of button
actions needed

DESCRIPTION

XkbResizeDeviceButtonActions
reallocates space, if necessary, to make sure there is room
for a total of new_total button actions in the
device_info structure. Any new entries allocated are
zeroed. If successful, XkbResizeDeviceButtonActions
returns Success. If new_total is zero, all button
actions are deleted, device_info->num_btns is set
to zero, and device_info->btn_acts is set to NULL.
If device_info is invalid or new_total is
greater than 255, BadValue is returned. If a memory
allocation failure occurs, a BadAlloc is returned.

To free an
XkbDeviceInfoRec structure, use
XkbFreeDeviceInfo.

STRUCTURES

Information
about X Input Extension devices is transferred between a
client program and the Xkb extension in an XkbDeviceInfoRec
structure: