i3/i3-input/i3-input.h
2012-09-22 13:31:08 +02:00

18 lines
293 B
C

#ifndef I3_INPUT
#define I3_INPUT
#include <err.h>
#define die(...) errx(EXIT_FAILURE, __VA_ARGS__);
#define FREE(pointer) do { \
if (pointer != NULL) { \
free(pointer); \
pointer = NULL; \
} \
} \
while (0)
extern xcb_window_t root;
#endif