rofi/include/xcb.h

28 lines
520 B
C
Raw Normal View History

2016-03-01 17:17:39 +00:00
#ifndef ROFI_XCB_H
#define ROFI_XCB_H
2016-10-15 13:39:08 +00:00
/**
* xcb data structure type declaration.
*/
typedef struct _xcb_stuff xcb_stuff;
2016-03-01 17:17:39 +00:00
2016-10-15 13:39:08 +00:00
/**
* Global pointer to xcb_stuff instance.
*/
2016-03-01 17:17:39 +00:00
extern xcb_stuff *xcb;
2016-10-15 13:39:08 +00:00
/**
* @param xcb the xcb data structure
*
* Get the root window.
*
* @returns the root window.
xcb_window_t xcb_stuff_get_root_window ( xcb_stuff *xcb );
/**
* @param xcb The xcb data structure.
*
* Disconnect and free all xcb connections and references.
*/
2016-03-01 17:33:26 +00:00
void xcb_stuff_wipe ( xcb_stuff *xcb );
2016-03-01 17:17:39 +00:00
#endif