diff options
author | emersion <contact@emersion.fr> | 2018-11-25 09:09:32 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-11-25 09:09:32 +0100 |
commit | b84bf3585ce68784406ebe435dca5f67406db66e (patch) | |
tree | f763e37ce62bb9eca833808d3e1ff4f4d51ea8ba /sway/config/bar.c | |
parent | 827e5513e030eff40323832466e8a39f11aae4eb (diff) |
Fix pango title escaping
This commit fixes two bugs.
First, commit [1] has inverted the condition when we escape pango markup. We
need to escape client-provided strings when markup is enabled.
Second, parse_title_format has a shortcut when title_format is set to `%title`,
and escape_pango_markup wasn't used anymore there.
Fixes https://github.com/swaywm/sway/issues/3181
[1]: https://github.com/swaywm/sway/pull/3179/commits/caee2dff03fc007dc46cf121e013f5347ac46ba9
Diffstat (limited to 'sway/config/bar.c')
0 files changed, 0 insertions, 0 deletions