mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
cmd_output: Replace existing config if called multiple times.
This commit is contained in:
parent
00a4591b39
commit
a94a91a723
3 changed files with 11 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ static void free_mode(struct sway_mode *mode) {
|
|||
free(mode);
|
||||
}
|
||||
|
||||
static void free_output_config(struct output_config *oc) {
|
||||
void free_output_config(struct output_config *oc) {
|
||||
free(oc->name);
|
||||
free(oc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue