2012-08-23 22:32:11 +02:00
|
|
|
#ifndef _EWMH_H
|
|
|
|
#define _EWMH_H
|
|
|
|
|
2012-09-11 22:48:26 +02:00
|
|
|
#include <xcb/xcb_ewmh.h>
|
|
|
|
|
2012-09-16 14:16:58 +02:00
|
|
|
xcb_ewmh_connection_t *ewmh;
|
2012-08-23 22:32:11 +02:00
|
|
|
|
|
|
|
void ewmh_init(void);
|
2012-09-16 14:16:58 +02:00
|
|
|
void ewmh_update_active_window(void);
|
|
|
|
void ewmh_update_number_of_desktops(void);
|
2012-10-10 21:36:19 +02:00
|
|
|
uint32_t ewmh_get_desktop_index(desktop_t *);
|
2013-07-08 11:42:05 +02:00
|
|
|
bool ewmh_locate_desktop(uint32_t, coordinates_t *);
|
2012-09-16 14:16:58 +02:00
|
|
|
void ewmh_update_current_desktop(void);
|
2012-10-10 21:36:19 +02:00
|
|
|
void ewmh_set_wm_desktop(node_t *, desktop_t *);
|
2013-09-11 12:19:03 +02:00
|
|
|
void ewmh_update_wm_desktops(void);
|
2012-09-16 14:16:58 +02:00
|
|
|
void ewmh_update_desktop_names(void);
|
|
|
|
void ewmh_update_client_list(void);
|
2013-08-30 14:00:02 +02:00
|
|
|
void ewmh_set_supporting(xcb_window_t);
|
2012-08-23 22:32:11 +02:00
|
|
|
|
|
|
|
#endif
|