fb11cc2d14
Some minor fixes along the way as well. Very minor stuff, unlikely to ever be visible to the user.
18 lines
295 B
C
18 lines
295 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
|