HPlogo HP Xlib Extensions: > Chapter 6 HP Input Device Extension Functions

Ungrabbing Extended Input Devices

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

To release a previously grabbed extended input device, use XHPUngrabDevice.

int XHPUngrabDevice(display, deviceid, time)
Display *display;
XID deviceid;
Time time;

Title not available (Ungrabbing Extended Input Devices )

display

Specifies the connection to the X server.

deviceid

Specifies the ID of the device to grab.

time

Specifies the time. You can pass either a timestamp, expressed in milliseconds, or CurrentTime.

The XHPUngrabDevice function releases the input device. The function does not release the device and any queued events if the specified time is earlier than the last-grab time or is later than the current X server time. It also generates HPDeviceFocusIn and HPDeviceFocusOut events. If the event window for an active device grab becomes unviewable, the X server automatically performs an XHPUngrabDevice request.

XHPUngrabDevice can generate a BadDevice error.

© 1995 Hewlett-Packard Development Company, L.P.