XkbSASetPtrDfltValue − Sets the valueXXX field of act from val


void XkbSASetPtrDfltValue

(XkbAction act, int val);


− act

action in which to set valueXXX

− val

value to set in valueXXX


Actions associated with the XkbPtrDfltAction structure change the mk_dflt_btn attribute of the MouseKeys control.

If the MouseKeys control is not enabled, KeyPress and KeyRelease events are treated as though the action is XkbSA_NoAction. Otherwise, this action changes the mk_dflt_btn attribute of the MouseKeys control.

The type field of the XkbPtrDfltAction structure should always be XkbSA_SetPtrDflt.

The flags field is composed of the bitwise inclusive OR of the values shown in Table 1 (currently there is only one value defined).

The affect field specifies what changes as a result of this action. The only valid value for the affect field is XkbSA_AffectDfltBtn.

The valueXXX field is a signed character that represents the new button value for the mk_dflt_btn attribute of the MouseKeys control. If XkbSA_DfltBtnAbsolute is set in flags, valueXXX specifies the button to be used; otherwise, valueXXX specifies the amount to be added to the current default button. In either case, illegal button choices are wrapped back around into range. Xkb provides macros, to convert between the integer and signed character values in XkbPtrDfltAction structures.


typedef struct _XkbPtrDfltAction {
unsigned char type; /∗ XkbSA_SetPtrDflt */
unsigned char flags; /∗ controls the pointer button number */
unsigned char affect; /∗ XkbSA_AffectDfltBtn */
char valueXXX; /∗ new default button member */
} XkbPtrDfltAction;

More Linux Commands

git-gc(1) - Cleanup unnecessary files and optimize the local
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions (to reduce disk space and increase performance) and removi

inet_addr(3) - Internet address manipulation routines.......
inet_aton() converts the Internet host address cp from the IPv4 numbers-and-dots notation into binary form (in network byte order) and stores it in the structur

attr_off(3ncurses) - curses character and window attribute c
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the windo

Module::Build::Bundling(3pm) - How to bundle Module::Build w
WARNING -- THIS IS AN EXPERIMENTAL FEATURE In order to install a distribution using Module::Build, users must have Module::Build available on their systems. The

strfile(1) create a random access file for storing strings b
strfile reads a file containing groups of lines separated by a line containing a single percent % sign (or other specified delimiter character) and creates a da

gnutls_x509_crt_deinit(3) - API function - Linux man page...
This function will deinitialize a certificate structure. REPORTING BUGS Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutl

pthread_attr_setguardsize(3) - set/get guard size attribute
The pthread_attr_setguardsize() function sets the guard size attribute of the thread attributes object referred to by attr to the value specified in guardsize.

getgroups32(2) - get/set list of supplementary group IDs....
getgroups() returns the supplementary group IDs of the calling process in list. The argument size should be set to the maximum number of items that can be store

reboot(8) - Halt, power-off or reboot the machine (ManPage)
halt, poweroff, reboot may be used to halt, power-off or reboot the machine. OPTIONS The following options are understood: --help Print a short help text and ex

sha1(1ssl) message digests (Commands - Linux manual page)...
The digest functions output the message digest of a supplied file or files in hexadecimal. The digest functions also generate and verify digital signatures usin

Tcl_GetChannelName(3) - procedures for creating and manipula
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

sigaddset(3) - POSIX signal set operations. - Linux man page
These functions allow the manipulation of POSIX signal sets. sigemptyset() initializes the signal set given by set to empty, with all signals excluded from the

We can't live, work or learn in freedom unless the software we use is free.