1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-02-03 15:34:54 -05:00
rofi/include/xcb.h

29 lines
518 B
C
Raw Normal View History

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