2013-12-29 06:11:50 +04:00
|
|
|
#pragma once
|
2009-09-20 17:44:14 +04:00
|
|
|
|
2016-10-11 10:13:35 +03:00
|
|
|
#include <config.h>
|
|
|
|
|
2009-09-20 17:44:14 +04:00
|
|
|
#include <err.h>
|
|
|
|
|
|
|
|
#define die(...) errx(EXIT_FAILURE, __VA_ARGS__);
|
2017-11-24 02:41:33 +03:00
|
|
|
#define FREE(pointer) \
|
|
|
|
do { \
|
|
|
|
free(pointer); \
|
|
|
|
pointer = NULL; \
|
2014-06-19 13:20:32 +04:00
|
|
|
} while (0)
|
2009-09-20 17:44:14 +04:00
|
|
|
|
2011-01-28 02:41:53 +03:00
|
|
|
extern xcb_window_t root;
|