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;
77 #define LOG(fmt, ...) verboselog("[libi3] " __FILE__ " " fmt, ##__VA_ARGS__)
82 #define ELOG(fmt, ...) errorlog("[libi3] ERROR: " fmt, ##__VA_ARGS__)
87 #define DLOG(fmt, ...) debuglog("%s:%s:%d - " fmt, I3__FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__)
101 char *
root_atom_contents(
const char *atomname, xcb_connection_t *provided_conn,
int screen);
122 void *
srealloc(
void *ptr,
size_t size);
129 char *
sstrdup(
const char *str);
136 int sasprintf(
char **strp,
const char *fmt, ...);
171 #define I3STRING_FREE(str) \
174 i3string_free(str); \
219 const uint32_t message_type,
const uint8_t *payload);
233 uint32_t *reply_length, uint8_t **reply);
259 #if defined(__APPLE__)
267 char *strndup(
const char *str,
size_t n);
289 xcb_key_symbols_t *symbols,
290 xcb_get_modifier_mapping_reply_t *modmap_reply);
331 void set_font_colors(xcb_gcontext_t gc, uint32_t foreground, uint32_t background);
342 xcb_gcontext_t gc,
int x,
int y,
int max_width);
349 xcb_gcontext_t gc,
int x,
int y,
int max_width);