aboutsummaryrefslogtreecommitdiff
path: root/i3-input/i3-input.h
blob: d7aae66b5f8ffb1033f93155d5e74eed20c2146a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <config.h>

#include <err.h>

#define die(...) errx(EXIT_FAILURE, __VA_ARGS__);
#define FREE(pointer)   \
    do {                \
        free(pointer);  \
        pointer = NULL; \
    } while (0)

extern xcb_window_t root;