Don't create the FIFO

This commit is contained in:
Bastien Dejean 2012-09-10 23:17:59 +02:00
parent 3c52a8f055
commit 622197558e

2
bsps.c
View file

@ -207,7 +207,7 @@ void setup(void)
screen = ewmh.screens[default_screen];
screen_width = screen->width_in_pixels;
fifo_path = getenv(FIFO_ENV_VAR);
mkfifo(fifo_path, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
/* mkfifo(fifo_path, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); */
/* http://www.outflux.net/blog/archives/2008/03/09/using-select-on-a-fifo/ */
fifo_fd = open(fifo_path, O_RDWR | O_NONBLOCK);
dpy_fd = xcb_get_file_descriptor(dpy);