]> git.sur5r.net Git - i3/i3/blob - i3-input/i3-input.h
Use #pragma once
[i3/i3] / i3-input / i3-input.h
1 #pragma once
2
3 #include <err.h>
4
5 #define die(...) errx(EXIT_FAILURE, __VA_ARGS__);
6 #define FREE(pointer) do { \
7         if (pointer != NULL) { \
8                 free(pointer); \
9                 pointer = NULL; \
10         } \
11 } \
12 while (0)
13
14 extern xcb_window_t root;