aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/output.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-20 08:37:48 +0200
committerGitHub <noreply@github.com>2018-10-20 08:37:48 +0200
commitfe6aea1d02db7e172cafdaac61d612d0de2dc9d0 (patch)
tree426f440e205997a26eb415c67d7558efe56cc269 /sway/tree/output.c
parent4bde0eb911062817b9b41e91039b373b1efb0e0e (diff)
parented771a6a6e147d667c3791f897ad62e307b260fe (diff)
Merge pull request #2886 from RyanDwyer/fix-headless-unmap-crash
Fix crash when view unmaps while no outputs connected
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r--sway/tree/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c
index c3176325..98041c47 100644
--- a/sway/tree/output.c
+++ b/sway/tree/output.c
@@ -89,6 +89,7 @@ void output_enable(struct sway_output *output, struct output_config *oc) {
}
}
free(ws_name);
+ ipc_event_workspace(NULL, ws, "init");
}
size_t len = sizeof(output->layers) / sizeof(output->layers[0]);