aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <christoffer@eliesen.no>2015-11-16 11:40:24 +0100
committerS. Christoffer Eliesen <christoffer@eliesen.no>2015-11-16 15:57:42 +0100
commita94a91a723d87b37d5e24e352f83a051144a3ecf (patch)
tree8b4aa0be0fdfa0a18503671a1ce7220ae5b05d3f /sway/config.c
parent00a4591b39182fe57c86e72f06f78fb61475f952 (diff)
cmd_output: Replace existing config if called multiple times.
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index 0b25ee60..ce6d8baf 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -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);
}