18 #include <xcb/xproto.h>
19 #include <xcb/xcb_keysyms.h>
22 #include <pango/pango.h>
59 xcb_query_font_reply_t *
info;
67 PangoFontDescription *pango_desc;
76 #define LOG(fmt, ...) verboselog("[libi3] " __FILE__ " " fmt, ##__VA_ARGS__)
80 #define ELOG(fmt, ...) errorlog("[libi3] ERROR: " fmt, ##__VA_ARGS__)
112 void *
srealloc(
void *ptr,
size_t size);
119 char *
sstrdup(
const char *str);
126 int sasprintf(
char **strp,
const char *fmt, ...);
161 #define I3STRING_FREE(str) \
164 i3string_free(str); \
209 const uint32_t message_type,
const uint8_t *payload);
223 uint32_t *reply_length, uint8_t **reply);
249 #if defined(__APPLE__)
257 char *strndup(
const char *str,
size_t n);
279 xcb_key_symbols_t *symbols,
280 xcb_get_modifier_mapping_reply_t *modmap_reply);
321 void set_font_colors(xcb_gcontext_t gc, uint32_t foreground, uint32_t background);
332 xcb_gcontext_t gc,
int x,
int y,
int max_width);
339 xcb_gcontext_t gc,
int x,
int y,
int max_width);