XkbSetPtrActionY − Sets the high_YYY and low_YYY fields of act from the signed integer value y


void XkbSetPtrActionY

(XkbPtrAction act, int y);


− act

action in which to set Y

− y

new value to set


Actions associated with the XkbPtrAction structure move the pointer when keys are pressed and released.

If the MouseKeys control is not enabled, KeyPress and KeyRelease events are treated as though the action is XkbSA_NoAction.

If the MouseKeys control is enabled, a server action of type XkbSA_MovePtr instructs the server to generate core pointer MotionNotify events rather than the usual KeyPress event, and the corresponding KeyRelease event disables any mouse keys timers that were created as a result of handling the XkbSA_MovePtr action.

The type field of the XkbPtrAction structure is always XkbSA_MovePtr.

The flags field is a bitwise inclusive OR of the masks shown in Table 1.

Each of the X and Y coordinantes of the XkbPtrAction structure is composed of two signed 16-bit values, that is, the X coordinate is composed of high_XXX and low_XXX, and similarly for the Y coordinate. Xkb provides the following macros, to convert between a signed integer and two signed 16-bit values in XkbPtrAction structures.


typedef struct _XkbPtrAction {
unsigned char type; /∗ XkbSA_MovePtr */
unsigned char flags; /∗ determines type of pointer motion */
unsigned char high_XXX; /∗ x coordinate, high bits*/
unsigned char low_XXX; /∗ y coordinate, low bits */
unsigned char high_YYY; /∗ x coordinate, high bits */
unsigned char low_YYY; /∗ y coordinate, low bits */
} XkbPtrAction;

More Linux Commands

ExtUtils::MakeMaker::FAQ(3pm) - Frequently Asked Questions A
FAQs, tricks and tips for ExtUtils::MakeMaker. Module Installation How do I install a module into my home directory? If youre not the Perl administrator you pro

strcmp(3) - compare two strings (Library - Linux man page)
The strcmp() function compares the two strings s1 and s2. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be le

has_mouse(3ncurses) - mouse interface through curses........
These functions provide an interface to mouse events from ncurses(3NCURSES). Mouse events are represented by KEY_MOUSE pseudo-key values in the wgetch input str

ctanhf(3) - complex hyperbolic tangent - Linux manual page
The complex hyperbolic tangent function is defined mathematically as: ctanh(z) = csinh(z) / ccosh(z) VERSIONS These functions first appeared in glibc in version

localtime(3) - transform date and time to broken-down time o
The ctime(), gmtime() and localtime() functions all take an argument of data type time_t, which represents calendar time. When interpreted as an absolute time v

glNormal3sv(3gl) - set the current normal vector (Man Page)
The current normal is set to the given coordinates whenever glNormal is issued. Byte, short, or integer arguments are converted to floating-point with a linear

gdb-add-index(1) Add index files to speed up GDB (Man Page)
When GDB finds a symbol file, it scans the symbols in the file in order to construct an internal symbol table. This lets most GDB operations work quickly--at th

XDisplayMotionBufferSize(3) - send events and pointer motion
The XSendEvent function identifies the destination window, determines which clients should receive the specified events, and ignores any active grabs. This func

gnutls_x509_trust_list_verify_crt(3) - API function.........
gnutls_x509_trust_list_verify_crt.3 - This function will try to verify the given certificate and return its status. RETURNS On success, GNUTLS_E_SUCCESS (0) is

modesetting(4) video driver for framebuffer device..........
modesetting is an Xorg driver for KMS devices. This is a non-accelerated driver, the following framebuffer depths are supported: 8, 15, 16, 24. All visual types

systemd-coredumpctl(1) Retrieve coredumps from the journal
systemd-coredumpctl may be used to retrieve coredumps from systemd-journald(8). OPTIONS The following options are understood: -F, --field= Print all possible da

vline(3ncurses) - create curses borders, horizontal and vert
The border, wborder and box routines draw a box around the edges of a window. Other than the window, each argument is a character with attributes: ls - left sid

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