mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Update output container box in event handler
This commit is contained in:
parent
c7abb77f22
commit
d293c42942
4 changed files with 19 additions and 14 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue