1 2 3 4 5 6 7 8 9 10 11 12 13 14
#pragma once #include <config.h> #include <err.h> #define die(...) errx(EXIT_FAILURE, __VA_ARGS__); #define FREE(pointer) \ do { \ free(pointer); \ pointer = NULL; \ } while (0) extern xcb_window_t root;