1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00
rofi/include/xcb.h

29 lines
518 B
C
Raw Normal View History

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