a01bac13fe
fixes #804
18 lines
293 B
C
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
|