atoms: Properly declare as global variables

See #3914
This commit is contained in:
Orestis Floros
2020-02-01 17:29:44 +01:00
parent d14e59b3a7
commit 2eac53fada
2 changed files with 6 additions and 1 deletions

View File

@ -56,7 +56,7 @@
XCB_EVENT_MASK_FOCUS_CHANGE | \
XCB_EVENT_MASK_ENTER_WINDOW)
#define xmacro(atom) xcb_atom_t A_##atom;
#define xmacro(atom) extern xcb_atom_t A_##atom;
#include "atoms.xmacro"
#undef xmacro