diff options
Diffstat (limited to 'initx.c')
-rw-r--r-- | initx.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,9 +2,9 @@ # 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); +void luma__initx(uint32_t * retval) { + if(luma__dat.xconn) { + luma__dat.xconn = xcb_connect(NULL,NULL); } else { printf("luma__crtxconn called with a valid X connection!\n"); |