XGravityEvent - GravityNotify event structure
The structure for GravityNotify events contains:
typedef struct {
int type; GravityNotify
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 event;
Window window;
int x, y;
} XGravityEvent;