]> git.sur5r.net Git - i3/i3/blobdiff - include/xcb.h
Some little fixes for bapt’s patch, use predict_text_width, support UTF8, pre-render...
[i3/i3] / include / xcb.h
index 694c6c6cd5130429cfe42b48b93f9ce3ba666352..6ae49107badbc373252f71a4292e4a9183835321 100644 (file)
@@ -157,7 +157,7 @@ void cached_pixmap_prepare(xcb_connection_t *conn, struct Cached_Pixmap *pixmap)
  * real length (amount of glyphs) using the given font.
  *
  */
-int predict_text_width(xcb_connection_t *conn, char *font_pattern, char *text,
+int predict_text_width(xcb_connection_t *conn, const char *font_pattern, char *text,
                        int length);
 
 #endif