]> git.sur5r.net Git - i3/i3/blobdiff - libi3/draw_util.c
Update information on where to find #i3 on IRC
[i3/i3] / libi3 / draw_util.c
index fa538d1a24b16216703f3a422cc2c7ca441c3ffd..dcd881c2de322f9b443cba20151c6f95ee3d521d 100644 (file)
@@ -144,7 +144,7 @@ void draw_util_text(i3String *text, surface_t *surface, color_t fg_color, color_
     CAIRO_SURFACE_FLUSH(surface->surface);
 #endif
 
-    set_font_colors(surface->gc, fg_color.colorpixel, bg_color.colorpixel);
+    set_font_colors(surface->gc, fg_color, bg_color);
     draw_text(text, surface->id, surface->gc, surface->visual_type, x, y, max_width);
 
 #ifdef CAIRO_SUPPORT