size_t GetMonitors(Display *dpy, Window window, Monitor *out_monitors, size_t max_monitors)
Queries the current monitor configuration.
Definition monitors.c:243
void SelectMonitorChangeEvents(Display *dpy, Window window)
Enable receiving monitor change events for the given display at w.
Definition monitors.c:277
int IsMonitorChangeEvent(Display *dpy, int type)
Returns the event type that indicates a change to the monitor configuration.
Definition monitors.c:290
int x
Definition monitors.h:25
int width
Definition monitors.h:25
int y
Definition monitors.h:25
int height
Definition monitors.h:25