sway/sway
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
..
commands Fix compilation against wlroots without X11 backend 2018-09-21 21:25:03 +10:00
config swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
desktop Reconfigure xwayland views when repositioned 2018-09-21 23:02:48 +10:00
input Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00
tree Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
base64.c
commands.c Merge pull request #2671 from emersion/output-execute-no-focus 2018-09-20 18:36:47 +02:00
config.c Introduce tiling_drag directive 2018-09-11 17:17:19 +10:00
criteria.c Fix inversed condition in criteria 2018-09-05 18:01:43 +10:00
debug-tree.c Align titles to baseline 2018-09-08 16:25:07 +10:00
decoration.c
ipc-json.c ipc: add pid information for views in layout tree 2018-09-19 22:21:09 +01:00
ipc-server.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
main.c swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
meson.build Introduce create_output command (for developer use) 2018-09-19 21:54:27 +10:00
security.c
server.c Merge branch 'master' into wlroots-1243 2018-09-14 21:03:59 -04:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd
sway.1.scd
sway.5.scd commands: implement move absolute 2018-08-20 10:17:32 +01:00
swaynag.c