| 
 | 
| 
 | 
 
 | 
HP Xlib Extensions: > Chapter 6 HP Input Device Extension FunctionsSetting Extended Input Device Focus | 
 
  | 
 To set the input focus of an extended input device, use XHPSetDeviceFocus. 
 Title not available (Setting Extended Input Device Focus ) 
 The XHPSetDeviceFocus function changes the input focus and the last-focus-change time. The function has no effect if the specified time is earlier than the current last-focus-change time or is later than the current X server time. Otherwise, the last-focus-change time is set to the specified time (CurrentTime is replaced by the current X server time). This function causes the X server to generate XHPDeviceFocusIn and XHPDeviceFocusOut events. Depending on what value you assign to the focus argument, XHPSetDeviceFocus executes as follows: 
 The specified focus window must be viewable at the time XHPSetDeviceFocus is called. Otherwise, a BadMatch error is generated. If the focus window later becomes not viewable, the X server evaluates the revert_to argument to determine the new focus window: 
 XHPSetDeviceFocus can generate BadMatch, BadValue, BadWindow, and BadDevice errors.  | 
|||||||||||||||||||||||||||
  | 
|||||||||||||