summaryrefslogtreecommitdiffstats
path: root/control-notify.c
diff options
context:
space:
mode:
authornicm <nicm>2021-01-20 07:16:54 +0000
committernicm <nicm>2021-01-20 07:16:54 +0000
commitfb774b77d0f5ccb988b508b8a794633d4c9a5962 (patch)
tree6af7eebc80363f6d5e2c05ce7b1aae8796477842 /control-notify.c
parent0730dce5abf5e43f8e3820a1d4e8754e61874a3d (diff)
Change so that window_flags escapes # automatically which means configs
will not have to change. A new format window_raw_flags contains the old unescaped version.
Diffstat (limited to 'control-notify.c')
-rw-r--r--control-notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-notify.c b/control-notify.c
index a1735d57..cc706ac2 100644
--- a/control-notify.c
+++ b/control-notify.c
@@ -49,7 +49,7 @@ control_notify_window_layout_changed(struct window *w)
char *cp;
template = "%layout-change #{window_id} #{window_layout} "
- "#{window_visible_layout} #{window_flags}";
+ "#{window_visible_layout} #{window_raw_flags}";
TAILQ_FOREACH(c, &clients, entry) {
if (!CONTROL_SHOULD_NOTIFY_CLIENT(c) || c->session == NULL)