]> git.lizzy.rs Git - bspwm.git/blobdiff - events.h
Show monitor padding information via `query -T`
[bspwm.git] / events.h
index bafc33b28698b7ac19f1ab45d5ffc7a0a3c2b094..2d440d3c152cd39cdddc8de6979af3ee296f7969 100644 (file)
--- a/events.h
+++ b/events.h
@@ -4,6 +4,10 @@
 #include <xcb/xcb.h>
 #include <xcb/xcb_event.h>
 
+uint8_t randr_base;
+uint16_t last_motion_x, last_motion_y;
+xcb_timestamp_t last_motion_time;
+
 void handle_event(xcb_generic_event_t *);
 void map_request(xcb_generic_event_t *);
 void destroy_notify(xcb_generic_event_t *);
@@ -11,11 +15,10 @@ void unmap_notify(xcb_generic_event_t *);
 void configure_request(xcb_generic_event_t *);
 void client_message(xcb_generic_event_t *);
 void property_notify(xcb_generic_event_t *);
-void mapping_notify(xcb_generic_event_t *);
 void enter_notify(xcb_generic_event_t *);
-void button_press(xcb_generic_event_t *);
 void motion_notify(xcb_generic_event_t *);
-void button_release(void);
 void handle_state(monitor_t *, desktop_t *, node_t *, xcb_atom_t, unsigned int);
+void grab_pointer(pointer_action_t);
+void track_pointer(int, int);
 
 #endif