Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Xlib Extensions: > Chapter 6 HP Input Device Extension Functions

Getting Extended Input Device Focus

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1995 Hewlett-Packard Development Company, L.P.