-#ifdef CAIRO_SUPPORT
- cairo_set_source_rgb(surface->cr, color.red, color.green, color.blue);
-#else
- uint32_t colorpixel = color.colorpixel;
- xcb_change_gc(conn, surface->gc, XCB_GC_FOREGROUND | XCB_GC_BACKGROUND,
- (uint32_t[]){colorpixel, colorpixel});
-#endif
+ cairo_set_source_rgba(surface->cr, color.red, color.green, color.blue, color.alpha);