]> git.lizzy.rs Git - bspwm.git/blob - ewmh.h
Relieve tree.c from non tree related functions
[bspwm.git] / ewmh.h
1 #ifndef _EWMH_H
2 #define _EWMH_H
3
4 #include <xcb/xcb_ewmh.h>
5
6 xcb_ewmh_connection_t *ewmh;
7
8 void ewmh_init(void);
9 void ewmh_update_wm_name(void);
10 void ewmh_update_active_window(void);
11 void ewmh_update_number_of_desktops(void);
12 uint32_t ewmh_get_desktop_index(desktop_t *);
13 bool ewmh_locate_desktop(uint32_t, desktop_location_t *);
14 void ewmh_update_current_desktop(void);
15 void ewmh_set_wm_desktop(node_t *, desktop_t *);
16 void ewmh_update_desktop_names(void);
17 void ewmh_update_client_list(void);
18
19 #endif