XFocusChangeEvent - FocusIn and FocusOut event structure
The structure for FocusIn and FocusOut events contains:
typedef struct {
int type; FocusIn or FocusOut
unsigned long serial; # of last request processed by server
Bool send_event; true if this came from a SendEvent request
Display *display; Display the event was read from
Window window; window of event
int mode; NotifyNormal, NotifyGrab, NotifyUngrab
int detail;
NotifyAncestor, NotifyVirtual, NotifyInferior,
NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer,
NotifyPointerRoot, NotifyDetailNone
} XFocusChangeEvent;
typedef XFocusChangeEvent XFocusInEvent;
typedef XFocusChangeEvent XFocusOutEvent;