]> git.sur5r.net Git - i3/i3/blobdiff - include/libi3.h
Use 32-bit visuals for i3bar when possible and allow RGBA colors.
[i3/i3] / include / libi3.h
index 9e7ef133fb4ca3ce49d253fa2956adcec57186b7..c1e109ef12b63243c59a451e361a3f02ecb13eeb 100644 (file)
@@ -402,8 +402,8 @@ bool font_is_pango(void);
  * Text must be specified as an i3String.
  *
  */
-void draw_text(i3String *text, xcb_drawable_t drawable,
-               xcb_gcontext_t gc, int x, int y, int max_width);
+void draw_text(i3String *text, xcb_drawable_t drawable, xcb_gcontext_t gc,
+               xcb_visualtype_t *visual, int x, int y, int max_width);
 
 /**
  * ASCII version of draw_text to print static strings.