blob: 35b619dc15d97cdee7e880dbfec348eb976b7d61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# include <luma/main.h>
# include <stdint.h>
# include <stdio.h>
# include <xcb/xcb.h>
void luma__crtxconn(uint32_t * retval) {
if(luma__dat.xcbconn) {
luma__dat.xcbconn = xcb_connect(NULL,NULL);
}
else {
printf("luma__crtxconn called with a valid X connection!\n");
*retval = 0x1;
return;
}
}
|