summaryrefslogtreecommitdiff
path: root/initx.c
diff options
context:
space:
mode:
Diffstat (limited to 'initx.c')
-rw-r--r--initx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/initx.c b/initx.c
index 35b619d..9e2b5d7 100644
--- a/initx.c
+++ b/initx.c
@@ -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");