 |
» |
|
|
|
To obtain the focus window id and current focus state of an
extended input device, use
XHPGetDeviceFocus. int XHPGetDeviceFocus(display, deviceid, focus_return, revert_to_return) Display *display; XID deviceid; Window *focus_return; /* RETURN */ int *revert_to_return; /* RETURN */
|
Title not available (Getting Extended Input Device Focus ) - display
Specifies the connection to the X server. - deviceid
Specifies the ID of the device to examine. - focus_return
Returns the focus window ID, PointerRoot,
or None. - revert_to_return
Returns the current focus state. The function can
return RevertToParent,
RevertToPointerRoot,
or RevertToNone.
The XHPGetDeviceFocus
function returns the focus window ID and the current focus state
of the specified extended input device.
|