XISetClientPointer, XIGetClientPointer − set or get the ClientPointer device.


#include <X11/extensions/XInput2.h>

XISetClientPointer( Display *display,
Window win,
int deviceid);

Bool XIGetClientPointer( Display *display,
Window win,
int *device);

Specifies the connection to the X server.

Specifies a window belonging to the client. May be None.

Specifies the ClientPointer device.


The ClientPointer is the device that is percieved to be the
core pointer for non−XI protocol requests and replies. Each
time a protocol message needs device−dependent data and the
device is not explicitly given, the ClientPointer device is
used to obtain the data. For example, a XQueryPointer request
will return the coordinates of the ClientPointer.

XISetClientPointer request sets the ClientPointer device for
the client that owns the given window. If win is None, the
requesting client´s ClientPointer is set to the device
specified with deviceid. Only master pointer devices can be set
as ClientPointer.

XISetClientPointer and can generate a BadDevice and a BadWindow

The XIGetClientPointer request returns the ClientPointer´s
device ID for the client that owns the given window. If win is
None, the requesting client´s ClientPointer is returned.

win may be a client ID instead of a window.

XIGetClientPointer can generate a BadWindow error.


An invalid device was specified. The device does not
exist or is not a master pointer device.

A value for a Window argument does not name a defined

More Linux Commands

rarpd(8) - reverse address resolution protocol daemon.......
Rarpd listens on the ethernet for broadcast packets asking for reverse address resolution. These packets are sent by hosts at boot time to find out their IP add

XDGAFillRectangle(3) - Client library for the XFree86-DGA ex
The XFree86-DGA extension is an X server extension for allowing client programs direct access to the video frame buffer. This is a brief description of the prog

FcStrSetAddFilename(3) - add a filename to a string set.....
Adds a copy s to set, The copy is created with FcStrCopyFilename so that leading ~ values are replaced with the value of the HOME environment variable. VERSION

XModifierKeymap(3) - manipulate keyboard encoding and keyboa
The XChangeKeyboardMapping function defines the symbols for the specified number of KeyCodes starting with first_keycode. The symbols for KeyCodes outside this

field_just(3form) - retrieve field characteristics (ManPage)
field_just.3form - The function set_field_just sets the justification attribute of a field; field_just returns a fields justification attribute. The attribute m

nm-online(1) - ask NetworkManager whether the network is con
nm-online is a utility to find out whether we are online. It is done by asking NetworkManager about its status. When run, nm-online waits until NetworkManager r

vfs_snapper(8) Expose snapshots managed by snapper as shadow
This VFS module is part of the samba(8) suite. The vfs_snapper VFS module exposes snapshots managed by snapper for use by Samba. This provides the ability for r

ntfscat(8) - print NTFS files and streams on the standard ou
ntfscat will read a file or stream from an NTFS volume and display the contents on the standard output. The case of the filename passed to ntfscat is ignored. O

glGetTexGen(3gl) - return texture coordinate generation para
glGetTexGen returns in params selected parameters of a texture coordinate generation function that was specified using glTexGen. coord names one of the (s, t, r

mq_notify(3) - register for notification when a message is a
mq_notify() allows the calling process to register or unregister for delivery of an asynchronous notification when a new message arrives on the empty message qu

pthread_getconcurrency(3) - set/get the concurrency level...
The pthread_setconcurrency() function informs the implementation of the applications desired concurrency level, specified in new_level. The implementation takes

ber_str2bv(3) - OpenLDAP LBER types and allocation functions
The following are the basic types and structures defined for use with the Lightweight BER library. ber_int_t is a signed integer of at least 32 bits. It is comm

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