diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-20 10:37:52 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-20 10:37:52 +1000 |
commit | e1955c5c08d4131fd5d3e2a91ec8af05c3117eca (patch) | |
tree | 34ada4f6dfb4362aa37e6221f01a0561cc43a569 /sway/tree/container.c | |
parent | a49e4b13bf16bda8f1877272e04935329bb682c2 (diff) |
Fix crash when adding output
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index b932925d..6ea0cc94 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -764,8 +764,7 @@ void container_damage_whole(struct sway_container *container) { * Return the output which will be used for scale purposes. * This is the most recently entered output. */ -static struct sway_output *container_get_effective_output( - struct sway_container *con) { +struct sway_output *container_get_effective_output(struct sway_container *con) { if (con->outputs->length == 0) { return NULL; } |