To obtain the current event selection mask for a specified
extended input device and window, use
XHPGetCurrentDeviceMask.
| int XHPGetCurrentDeviceMask(display, window, deviceid,mask_return)
 Display *display;
 Window   window;
 XID      deviceid;
 Mask    *mask_return;        /* RETURN */
 | 
Title not available (Getting Current Extended Input Event Selection Masks)
- display
- Specifies the connection to the X server. 
- window
- Specifies the window ID of the window to examine. 
- deviceid
- Specifies the ID of the device to examine. 
- mask_return
- Returns the current extended input event mask. 
XHPGetCurrentDeviceMask
returns the current event selection mask for the specified extended
input device and the specified window. For standard input events,
this information is returned by the XGetWindowAttributes
function.
XHPGetCurrentDeviceMask
can generate BadWindow
and BadDevice
errors.