]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/include/util.h
only LOG() the DPI when it changes, DLOG() it otherwise (Thanks lkraav)
[i3/i3] / i3bar / include / util.h
index 6ae97815384049ec87d95ec94fd6788c19b648d4..468eff3eec59c955107629535e9a70f4558ed95e 100644 (file)
@@ -48,6 +48,9 @@
     } \
 } while (0)
 
+#if defined(DLOG)
+#undef DLOG
+#endif
 /* Use cool logging-macros */
 #define DLOG(fmt, ...) do { \
     if (config.verbose) { \