sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 2a0836e3bd86efc3e6eabc039aace6839684ef63
parent 09efe0ce75d0268ae8634c6e7a7d1eaea5e5d445
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 17 Apr 2016 10:47:08 -0400

Add support for pango markup

Diffstat:
Mwayland/pango.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wayland/pango.c b/wayland/pango.c @@ -8,7 +8,7 @@ PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text) { PangoLayout *layout = pango_cairo_create_layout(cairo); - pango_layout_set_text(layout, text, -1); + pango_layout_set_markup(layout, text, -1); PangoFontDescription *desc = pango_font_description_from_string(font); pango_layout_set_font_description(layout, desc); pango_layout_set_single_paragraph_mode(layout, 1);