XVisibilityNotifyEvent - VisibilityNotify event structure
The structure for VisibilityNotify events contains:
typedef struct {
int type; VisibiltyNotify
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;
int state;
} XVisibilityEvent;