Use CAIRO_OPERATOR_SOURCE for swaybar

This commit is contained in:
Drew DeVault 2016-10-12 23:44:19 -04:00
parent 67a9a94596
commit c0916f6138

View file

@ -282,6 +282,8 @@ void render(struct output *output, struct config *config, struct status_line *li
cairo_paint(cairo); cairo_paint(cairo);
cairo_restore(cairo); cairo_restore(cairo);
cairo_set_operator(cairo, CAIRO_OPERATOR_SOURCE);
// Background // Background
cairo_set_source_u32(cairo, config->colors.background); cairo_set_source_u32(cairo, config->colors.background);
cairo_paint(cairo); cairo_paint(cairo);