summaryrefslogtreecommitdiff
path: root/src/xcb_disp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcb_disp.c')
-rw-r--r--src/xcb_disp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_disp.c b/src/xcb_disp.c
index 079c87ff..dfd6803c 100644
--- a/src/xcb_disp.c
+++ b/src/xcb_disp.c
@@ -65,7 +65,7 @@ int _XConnectXCB(Display *dpy, _Xconst char *display, char **fullnamep, int *scr
#ifdef HAVE_LAUNCHD
if(!display || !*display) display = getenv("DISPLAY");
-
+
if(display && strlen(display)>11 && !strncmp(display, "/tmp/launch", 11)) {
/* do nothing -- the magic happens inside of xcb_connect */
} else