aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/tree/container.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index de03ac68..d89019a3 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -582,6 +582,10 @@ static void update_title_texture(struct sway_container *con,
582 cairo_surface_t *surface = cairo_image_surface_create( 582 cairo_surface_t *surface = cairo_image_surface_create(
583 CAIRO_FORMAT_ARGB32, width, height); 583 CAIRO_FORMAT_ARGB32, width, height);
584 cairo_t *cairo = cairo_create(surface); 584 cairo_t *cairo = cairo_create(surface);
585 cairo_set_source_rgba(cairo, class->background[0], class->background[1],
586 class->background[2], class->background[3]);
587 cairo_paint(cairo);
588 cairo_set_antialias(cairo, CAIRO_ANTIALIAS_BEST);
585 PangoContext *pango = pango_cairo_create_context(cairo); 589 PangoContext *pango = pango_cairo_create_context(cairo);
586 cairo_set_source_u32(cairo, class->text); 590 cairo_set_source_u32(cairo, class->text);
587 cairo_move_to(cairo, 0, 0); 591 cairo_move_to(cairo, 0, 0);