hpux man page for xgetinputfocus

Query: xgetinputfocus

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XGetInputFocus()														  XGetInputFocus()

Name
  XGetInputFocus - return the current keyboard focus window.

Synopsis
  XGetInputFocus(display, focus_return, revert_to_return)
	Display *display;
	Window *focus_return;
	int *revert_to_return;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  focus_return
	    Returns the ID of the focus window, or one of the constants PointerRoot or None.

  revert_to_return
	    Returns  the  window  to  which  the  focus  would	revert if the focus window became invisible.  This is one of these constants:
	    RevertToParent, RevertToPointerRoot, or RevertToNone.  Must not be a window ID.

Description
  XGetInputFocus() returns the current keyboard focus window and the window to which the focus would revert if the focus window became invis-
  ible.

  XGetInputFocus() does not report the last focus change time.	This is available only from FocusIn and FocusOut events.

See Also
  XQLength(),	XAllowEvents(),   XCheckIfEvent(),   XCheckMaskEvent(),  XCheckTypedEvent(),  XCheckTypedWindowEvent(),  XCheckWindowEvent(),
  XEventsQueued(), XGetMotionEvents(), XIfEvent(), XMaskEvent(), XNextEvent(),	XPeekEvent(),  XPeekIfEvent(),	XPending(),  XPutBackEvent(),
  XSelectInput(), XSendEvent(), XSetInputFocus(), XSynchronize(), XWindowEvent().

Xlib - Input Handling														  XGetInputFocus()
Related Man Pages
xgetinputfocus(3) - debian
xsetinputfocus(3) - debian
xgetinputfocus(3x11) - xfree86
xgetinputfocus(3) - x11r4
xsetinputfocus(3x11) - osf1
Similar Topics in the Unix Linux Community
Xlib mouse events and ButtonPressMask