15 #include <xcb/randr.h> 56 int handle_configure_event(
void *prophs, xcb_connection_t *
conn, xcb_configure_notify_event_t *event);
65 xcb_window_t window, xcb_atom_t atom,
66 xcb_get_property_reply_t *property);
xcb_connection_t * conn
XCB connection and root screen.
bool handle_window_type(void *data, xcb_connection_t *conn, uint8_t state, xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *reply)
void add_ignore_event(const int sequence, const int response_type)
Adds the given sequence to the list of events which are ignored.
void property_handlers_init(void)
Sets the appropriate atoms for the property handlers after the atoms were received from X11...
bool event_is_ignored(const int sequence, const int response_type)
Checks if the given sequence is ignored and returns true if so.
void handle_event(int type, xcb_generic_event_t *event)
Takes an xcb_generic_event_t and calls the appropriate handler, based on the event type...