bspwm/ewmh.h
2013-10-05 22:32:40 +02:00

20 lines
551 B
C

#ifndef _EWMH_H
#define _EWMH_H
#include <xcb/xcb_ewmh.h>
xcb_ewmh_connection_t *ewmh;
void ewmh_init(void);
void ewmh_update_active_window(void);
void ewmh_update_number_of_desktops(void);
uint32_t ewmh_get_desktop_index(desktop_t *d);
bool ewmh_locate_desktop(uint32_t i, coordinates_t *loc);
void ewmh_update_current_desktop(void);
void ewmh_set_wm_desktop(node_t *n, desktop_t *d);
void ewmh_update_wm_desktops(void);
void ewmh_update_desktop_names(void);
void ewmh_update_client_list(void);
void ewmh_set_supporting(xcb_window_t win);
#endif