]> git.sur5r.net Git - i3/i3/blobdiff - include/log.h
only LOG() the DPI when it changes, DLOG() it otherwise (Thanks lkraav)
[i3/i3] / include / log.h
index c8e3c8ef7dd5a26f1bc8faa60406e34bf832c5dc..ef4dbd3ce08f618a98965a4e01d6a5f5cd3df205 100644 (file)
@@ -21,6 +21,9 @@
 #if defined(ELOG)
 #undef ELOG
 #endif
+#if defined(DLOG)
+#undef DLOG
+#endif
 /** ##__VA_ARGS__ means: leave out __VA_ARGS__ completely if it is empty, that
    is, delete the preceding comma */
 #define LOG(fmt, ...) verboselog(fmt, ##__VA_ARGS__)