1
1
mirror of https://github.com/swaywm/sway synced 2024-09-28 15:21:32 +02:00
sway/include
Ryan Dwyer 10ef118e09 Fix pango escaping and refactor escape_markup_text
Fixes #2674.

The cause of the issue was in get_pango_layout. When we call
pango_parse_markup, `text` is the escaped string, and the unescaped
string is then computed and written to `buf`. We were then passing the
unescaped string to pango_layout_set_markup, but this function needs the
escaped string. `buf` is not needed and has been removed.

The other part of this PR refactors escape_markup_text to remove the
dest_length argument and removes the -1 return value on error. It now
assumes that you've allocated dest to the correct length.
2018-09-22 18:33:28 +10:00
..
sway swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
swaybar swaybar: rewrite i3bar protocol handling 2018-09-18 11:36:33 +01:00
swaylock
swaynag Fix bad-free in swaynag 2018-08-20 15:06:12 -04:00
background-image.h
cairo.h
ipc-client.h
ipc.h
list.h
log.h Remove __PRETTY_FUNCTION__ 2018-09-06 13:31:57 +12:00
meson.build
pango.h Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
pool-buffer.h
readline.h
stringop.h Allow reload command to exist anywhere in the command string 2018-09-01 11:45:48 +10:00
unicode.h
util.h Remove layout.c 2018-08-26 12:05:16 +10:00