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 Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
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 Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
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 Add minimal config subsystem 2017-12-05 10:40:55 +01:00
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 Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd commands: implement move absolute 2018-08-20 10:17:32 +01:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00