aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/output.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2017-12-12 21:09:51 +0100
committerLibravatar emersion <contact@emersion.fr>2017-12-12 21:09:51 +0100
commitd293c429424a9f96c3fc8143af457645326e7a0e (patch)
tree530509af18e72af36a52e9fd3970a706695919be /sway/commands/output.c
parentListen to output layout change (diff)
downloadsway-d293c429424a9f96c3fc8143af457645326e7a0e.tar.gz
sway-d293c429424a9f96c3fc8143af457645326e7a0e.tar.zst
sway-d293c429424a9f96c3fc8143af457645326e7a0e.zip
Update output container box in event handler
Diffstat (limited to 'sway/commands/output.c')
-rw-r--r--sway/commands/output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c
index be78358a..23792855 100644
--- a/sway/commands/output.c
+++ b/sway/commands/output.c
@@ -29,7 +29,8 @@ struct cmd_results *cmd_output(int argc, char **argv) {
29 29
30 struct output_config *output = new_output_config(); 30 struct output_config *output = new_output_config();
31 if (!output) { 31 if (!output) {
32 return cmd_results_new(CMD_FAILURE, "output", "Unable to allocate output config"); 32 sway_log(L_ERROR, "Failed to allocate output config");
33 return NULL;
33 } 34 }
34 output->name = strdup(name); 35 output->name = strdup(name);
35 36