XkbSetDetectableAutoRepeat − Sets DetectableAutoRepeat
(Display *display, Bool detectable,
connection to X server
True => set DetectableAutoRepeat
backfilled True if DetectableAutoRepeat supported
Auto-repeat is the generation of multiple key events by a keyboard when the user presses a key and holds it down. Keyboard hardware and device-dependent X server software often implement auto-repeat by generating multiple KeyPress events with no intervening KeyRelease event. The standard behavior of the X server is to generate a KeyRelease event for every KeyPress event. If the keyboard hardware and device-dependent software of the X server implement auto-repeat by generating multiple KeyPress events, the device-independent part of the X server by default synthetically generates a KeyRelease event after each KeyPress event. This provides predictable behavior for X clients, but does not allow those clients to detect the fact that a key is auto-repeating.
Xkb allows clients to request detectable auto-repeat. If a client requests and the server supports DetectableAutoRepeat, Xkb generates KeyRelease events only when the key is physically released. If DetectableAutoRepeat is not supported or has not been requested, the server synthesizes a KeyRelease event for each repeating KeyPress event it generates.
DetectableAutoRepeat, unlike other controls, is not contained in the XkbControlsRec structure, nor can it be enabled or disabled via the EnabledControls control. Instead, query and set DetectableAutoRepeat using XkbGetDetectableAutoRepeat and XkbSetDetectableAutoRepeat.
DetectableAutoRepeat is a condition that applies to all keyboard devices for a client’s connection to a given X server; it cannot be selectively set for some devices and not for others. For this reason, none of the Xkb library functions involving DetectableAutoRepeat involve a device specifier.
This request affects all keyboard activity for the requesting client only; other clients still see the expected nondetectable auto-repeat behavior, unless they have requested otherwise.
XkbSetDetectableAutoRepeat sends a request to the server to set DetectableAutoRepeat on for the current client if detectable is True, and off if detectable is False; it then waits for a reply. If supported_rtrn is not NULL, XkbSetDetectableAutoRepeat backfills supported_rtrn with True if the server supports DetectableAutoRepeat, and False if it does not. XkbSetDetectableAutoRepeat returns the current state of DetectableAutoRepeat for the requesting client: True if DetectableAutoRepeat is set, and False otherwise.
The XkbSetDetectableAutoRepeat function returns True if DetectableAutoRepeat is set.
The XkbSetDetectableAutoRepeat function returns False if DetectableAutoRepeat is not set.
More Linux Commands
CPANPLUS::Internals::Utils(3pm) - (unknown subject).........
CPANPLUS::Internals::Utils holds a few convenience functions for CPANPLUS libraries. METHODS $cb->_mkdir( dir => /some/dir ) _mkdir creates a full path to a dir
pcre16_get_named_substring(3) Perl-compatible regular expres
This is a convenience function for extracting a captured substring by name. The arguments are: code Compiled pattern subject Subject that has been successfully
ip-xfrm(8) transform configuration - Linux manual page......
xfrm is an IP framework for transforming packets (such as encrypting their payloads). This framework is used to implement the IPsec protocol suite (with the sta
FcStrBasename(3) - last component of filename (Man Page)....
Returns the filename of file stripped of any leading directory names. This is returned in newly allocated storage which should be freed when no longer needed. V
XtDispatchEvent(3) - query and process events and input.....
If the X event queue is empty, XtAppNextEvent flushes the X output buffers of each Display in the application context and waits for an event while looking at th
unlinkat(2) - remove a directory entry relative to a directo
unlink() deletes a name from the filesystem. If that name was the last link to a file and no processes have the file open, the file is deleted and the space it
mtype(1) - display contents of an MSDOS file (Man Page).....
The mtype command is used to display contents of an MS-DOS file. Its syntax is: mtype [-ts] msdosfile [ msdosfiles... ] Mtype displays the specified MS-DOS file
glCopyTexImage1D(3gl) - copy pixels into a 1D texture image
glCopyTexImage1D defines a one-dimensional texture image with pixels from the current GL_READ_BUFFER. The screen-aligned pixel row with left corner at $(x, y)$
catan(3) - complex arc tangents (Library - Linux man page)
The catan() function calculates the complex arc tangent of z. If y = catan(z), then z = ctan(y). The real part of y is chosen in the interval [-pi/2,pi/2]. One
Tcl_LimitTypeSet(3) - manage and check resource limits on in
Tcls interpreter resource limit subsystem allows for close control over how much computation time a script may use, and is useful for cases where a program is d
EventMaskOfScreen(3) - screen information functions and macr
The BlackPixelOfScreen macro returns the black pixel value of the specified screen. The WhitePixelOfScreen macro returns the white pixel value of the specified
pccardctl(8) - PCMCIA card control utility - Linux man page
pccardctl is used to monitor and control the state of PCMCIA sockets. If a socket number is specified, the command will be applied to just one socket; otherwise