Fix markup drawing when font shadow enabled (fixes issue #709)

This commit is contained in:
Chris Lee
2018-12-31 18:21:57 +01:00
parent cacd4b8dad
commit c76f056746
8 changed files with 85 additions and 35 deletions

View File

@@ -478,7 +478,7 @@ void draw_button(void *obj, cairo_t *c)
button->frontend->textx,
button->frontend->texty,
&button->backend->font_color,
panel_config.font_shadow);
panel_config.font_shadow ? layout : NULL);
g_object_unref(layout);
g_object_unref(context);