mirror of
https://github.com/mintycube/dwmblocks.git
synced 2024-10-22 12:05:47 +00:00
bc84d094cd
The following changes are focused upon: - Modularity - Doing away with globals - No heap allocations - Better command line interface - Switch from Xlib to XCB - More verbose type definitions - Implement a single-file config by utilising X-macros
11 lines
285 B
C
11 lines
285 B
C
#pragma once
|
|
|
|
#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);
|