diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/pipe.h | 1 | ||||
| -rw-r--r-- | src/tsar.c | 10 |
2 files changed, 6 insertions, 5 deletions
@@ -5,6 +5,7 @@ #define PIPE_PATH "/tmp/tsarc.pipe" #define MAX_ARG_LEN 256 #define MAX_ARGS 4 + void init_pipe(); void await_change(); void make_change(char[MAX_ARGS][MAX_ARG_LEN], int); @@ -1,15 +1,15 @@ +#include <stdarg.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> -#include <unistd.h> -#include <stdbool.h> -#include <stdarg.h> #include <string.h> +#include <unistd.h> -#include "pipe.c" -#include "pipe.h" #include <xcb/xcb.h> // #include <X11/Xft/Xft.h> +#include "pipe.h" + xcb_connection_t* connection; xcb_screen_t* screen; xcb_window_t win; |
