4 /* This macro will only print debug output when started with --debug.
5 * This is important because xautolock (for example) closes stdout/stderr by
6 * default, so just printing something to stdout will lead to the data ending
7 * up on the X11 socket (!). */
8 #define DEBUG(fmt, ...) \
11 printf("[i3lock-debug] " fmt, ##__VA_ARGS__); \