]> git.lizzy.rs Git - bspwm.git/blob - events.h
Implement tags
[bspwm.git] / events.h
1 #ifndef _EVENTS_H
2 #define _EVENTS_H
3
4 #include <xcb/xcb.h>
5 #include <xcb/xcb_event.h>
6
7 uint8_t randr_base;
8 uint16_t last_motion_x, last_motion_y;
9 xcb_timestamp_t last_motion_time;
10
11 void handle_event(xcb_generic_event_t *evt);
12 void map_request(xcb_generic_event_t *evt);
13 void configure_request(xcb_generic_event_t *evt);
14 void destroy_notify(xcb_generic_event_t *evt);
15 void unmap_notify(xcb_generic_event_t *evt);
16 void property_notify(xcb_generic_event_t *evt);
17 void client_message(xcb_generic_event_t *evt);
18 void focus_in(xcb_generic_event_t *evt);
19 void enter_notify(xcb_generic_event_t *evt);
20 void motion_notify(xcb_generic_event_t *evt);
21 void handle_state(monitor_t *m, desktop_t *d, node_t *n, xcb_atom_t state, unsigned int action);
22
23 #endif