Update output container box in event handler

This commit is contained in:
emersion 2017-12-12 21:09:51 +01:00
parent c7abb77f22
commit d293c42942
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 19 additions and 14 deletions

View file

@ -29,7 +29,8 @@ struct cmd_results *cmd_output(int argc, char **argv) {
struct output_config *output = new_output_config();
if (!output) {
return cmd_results_new(CMD_FAILURE, "output", "Unable to allocate output config");
sway_log(L_ERROR, "Failed to allocate output config");
return NULL;
}
output->name = strdup(name);