mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
28 lines
915 B
C
28 lines
915 B
C
#ifndef _EVENTS_H
|
|
#define _EVENTS_H
|
|
|
|
#define CURSOR_NORMAL "left_ptr"
|
|
#define CURSOR_MOVE "fleur"
|
|
#define CURSOR_RESIZE_TL "top_left_corner"
|
|
#define CURSOR_RESIZE_TR "top_right_corner"
|
|
#define CURSOR_RESIZE_BR "bottom_right_corner"
|
|
#define CURSOR_RESIZE_BL "bottom_left_corner"
|
|
|
|
#include <xcb/xcb.h>
|
|
#include <xcb/xcb_event.h>
|
|
|
|
void handle_event(xcb_generic_event_t *);
|
|
void map_request(xcb_generic_event_t *);
|
|
void destroy_notify(xcb_generic_event_t *);
|
|
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 enter_notify(xcb_generic_event_t *);
|
|
void motion_notify(xcb_generic_event_t *);
|
|
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);
|
|
void ungrab_pointer(void);
|
|
|
|
#endif
|