]> git.lizzy.rs Git - bspwm.git/blob - events.h
Cosmetic improvements
[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 *);
12 void map_request(xcb_generic_event_t *);
13 void destroy_notify(xcb_generic_event_t *);
14 void unmap_notify(xcb_generic_event_t *);
15 void configure_request(xcb_generic_event_t *);
16 void client_message(xcb_generic_event_t *);
17 void property_notify(xcb_generic_event_t *);
18 void focus_in(xcb_generic_event_t *);
19 void enter_notify(xcb_generic_event_t *);
20 void motion_notify(xcb_generic_event_t *);
21 void handle_state(monitor_t *, desktop_t *, node_t *, xcb_atom_t, unsigned int);
22 void grab_pointer(pointer_action_t);
23 void track_pointer(int, int);
24
25 #endif