aboutsummaryrefslogtreecommitdiff
path: root/swayidle/main.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-25 09:09:32 +0100
committeremersion <contact@emersion.fr>2018-11-25 09:09:32 +0100
commitb84bf3585ce68784406ebe435dca5f67406db66e (patch)
treef763e37ce62bb9eca833808d3e1ff4f4d51ea8ba /swayidle/main.c
parent827e5513e030eff40323832466e8a39f11aae4eb (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 'swayidle/main.c')
0 files changed, 0 insertions, 0 deletions