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 *);
|
2013-01-02 12:36:54 +01:00
|
|
|
void mapping_notify(xcb_generic_event_t *);
|
2012-10-22 12:21:12 +02:00
|
|
|
void enter_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 *);
|
2012-10-06 11:36:16 +02:00
|
|
|
void button_release(void);
|
2012-10-18 11:09:17 +02:00
|
|
|
void handle_state(monitor_t *, desktop_t *, node_t *, xcb_atom_t, unsigned int);
|
2012-08-01 12:56:57 +02:00
|
|
|
|
|
|
|
#endif
|