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