sway-patched-tray-menu-github/sway/tree
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
..
arrange.c Adjust container box 2018-09-06 09:13:36 +10:00
container.c Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
root.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
view.c Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
workspace.c Fix crash in workspace_wrap_children 2018-09-11 23:38:17 +10:00