~kris/suckless

dwmblocks

ref: 40bc40b1a0cc1044fca8c3b2cfbdc8a487d1c6fd dwmblocks/include/x11.h -rw-r--r-- 318 bytes
40bc40b1 — Kris Yotam Switch to dwmblocks-async for better performance 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef X11_H
#define X11_H

#include <xcb/xcb.h>

typedef xcb_connection_t x11_connection;

x11_connection* x11_connection_open(void);
void x11_connection_close(x11_connection* const connection);
int x11_set_root_name(x11_connection* const connection,
                      const char* const name);

#endif  // X11_H