xmacro: declare in header files, instantiate instead of include
This works better with meson, where .h files can be declared as being part of an executable easily, but I couldn’t find a way to declare e.g. include/atoms.xmacro as a dependency. related to #4086
This commit is contained in:
8
i3-config-wizard/i3-config-wizard-atoms.xmacro.h
Normal file
8
i3-config-wizard/i3-config-wizard-atoms.xmacro.h
Normal file
@ -0,0 +1,8 @@
|
||||
// clang-format off
|
||||
#define CONFIG_WIZARD_ATOMS_XMACRO \
|
||||
xmacro(_NET_WM_NAME) \
|
||||
xmacro(_NET_WM_WINDOW_TYPE) \
|
||||
xmacro(_NET_WM_WINDOW_TYPE_DIALOG) \
|
||||
xmacro(ATOM) \
|
||||
xmacro(CARDINAL) \
|
||||
xmacro(UTF8_STRING)
|
Reference in New Issue
Block a user