2023-11-16 04:38:29 +01:00
|
|
|
#ifndef X11_H
|
|
|
|
#define X11_H
|
2023-10-24 05:14:31 +02:00
|
|
|
|
|
|
|
#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);
|
2023-11-16 04:38:29 +01:00
|
|
|
|
|
|
|
#endif // X11_H
|