2012-08-01 12:56:57 +02:00
|
|
|
#ifndef _EVENTS_H
|
|
|
|
#define _EVENTS_H
|
|
|
|
|
2012-08-20 22:38:29 +02:00
|
|
|
#include <xcb/xcb.h>
|
|
|
|
#include <xcb/xcb_event.h>
|
|
|
|
|
2012-08-25 15:24:35 +02:00
|
|
|
void handle_event(xcb_generic_event_t *);
|
|
|
|
void map_request(xcb_generic_event_t *);
|
2012-09-16 14:16:58 +02:00
|
|
|
void destroy_notify(xcb_generic_event_t *);
|
|
|
|
void unmap_notify(xcb_generic_event_t *);
|
|
|
|
void configure_request(xcb_generic_event_t *);
|
2012-09-11 22:48:26 +02:00
|
|
|
void client_message(xcb_generic_event_t *);
|
2012-09-20 23:32:32 +02:00
|
|
|
void property_notify(xcb_generic_event_t *);
|
2012-09-22 12:16:46 +02:00
|
|
|
void button_press(xcb_generic_event_t *);
|
2012-09-22 15:10:59 +02:00
|
|
|
void motion_notify(xcb_generic_event_t *);
|
|
|
|
void button_release(xcb_generic_event_t *);
|
2012-09-11 22:48:26 +02:00
|
|
|
void handle_state(node_t *, xcb_atom_t, unsigned int);
|
2012-08-01 12:56:57 +02:00
|
|
|
|
|
|
|
#endif
|