#include <xcb/xproto.h>
#include <xcb/xcb_keysyms.h>
+#if PANGO_SUPPORT
+#include <pango/pango.h>
+#endif
+
/**
* Opaque data structure for storing strings.
*
/** Font table for this font (may be NULL) */
xcb_charinfo_t *table;
} xcb;
+
+#if PANGO_SUPPORT
+ /** The pango font description */
+ PangoFontDescription *pango_desc;
+#endif
} specific;
};
/* Since this file also gets included by utilities which don’t use the i3 log
* infrastructure, we define a fallback. */
+#if !defined(LOG)
+void verboselog(char *fmt, ...);
+#define LOG(fmt, ...) verboselog("[libi3] " __FILE__ " " fmt, ##__VA_ARGS__)
+#endif
#if !defined(ELOG)
-#define ELOG(fmt, ...) fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__)
+void errorlog(char *fmt, ...);
+#define ELOG(fmt, ...) errorlog("[libi3] ERROR: " fmt, ##__VA_ARGS__)
#endif
/**