contrib
debian
docs
i3-config-wizard
i3-dump-log
i3-input
Makefile
UnicodeData.txt
convmap.pl
i3-input.h
i3-input.mk
keysym.map
keysym2ucs.c
keysym2ucs.h
main.c
i3-msg
i3-nagbar
i3bar
include
libi3
man
parser-specs
src
testcases
tests
yajl-fallback
.gitignore
DEPENDS
LICENSE
Makefile
PACKAGE-MAINTAINER
RELEASE-NOTES-4.2
RELEASE-NOTES-4.3
common.mk
generate-command-parser.pl
i3-migrate-config-to-v4
i3-sensible-editor
i3-sensible-pager
i3-sensible-terminal
i3.applications.desktop
i3.config
i3.config.keycodes
i3.xsession.desktop
logo.svg
pseudo-doc.doxygen
18 lines
293 B
C
18 lines
293 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
|