summaryrefslogtreecommitdiffstats
path: root/include/xcb.h
blob: 7c41ad86f1340b7a5c1e722784cbfb3a2d690805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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