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-03-04 11:25:12 +01:00
|
|
|
void enter_notify(xcb_generic_event_t *);
|
|
|
|
void motion_notify(void);
|
2012-10-18 11:09:17 +02:00
|
|
|
void handle_state(monitor_t *, desktop_t *, node_t *, xcb_atom_t, unsigned int);
|
2013-01-08 15:52:20 +01:00
|
|
|
void grab_pointer(pointer_action_t);
|
|
|
|
void track_pointer(int, int);
|
|
|
|
void ungrab_pointer(void);
|
2013-01-09 16:47:20 +01:00
|
|
|
|
2012-08-01 12:56:57 +02:00
|
|
|
#endif
|