mirror of
https://github.com/davatorium/rofi.git
synced 2024-10-27 05:23:18 -04:00
27 lines
520 B
C
27 lines
520 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
|