mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 12:23:02 +00:00
28 lines
518 B
C
28 lines
518 B
C
#ifndef ROFI_XCB_H
|
|
#define ROFI_XCB_H
|
|
|
|
/**
|
|
* xcb data structure type declaration.
|
|
*/
|
|
typedef struct _xcb_stuff xcb_stuff;
|
|
|
|
/**
|
|
* Global pointer to xcb_stuff instance.
|
|
*/
|
|
extern xcb_stuff *xcb;
|
|
|
|
/**
|
|
* @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.
|
|
*/
|
|
void xcb_stuff_wipe ( xcb_stuff *xcb );
|
|
#endif
|