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 /include | |
parent | Clean up tracked outputs when an output is destroyed (diff) | |
download | sway-e1955c5c08d4131fd5d3e2a91ec8af05c3117eca.tar.gz sway-e1955c5c08d4131fd5d3e2a91ec8af05c3117eca.tar.zst sway-e1955c5c08d4131fd5d3e2a91ec8af05c3117eca.zip |
Fix crash when adding output
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index e0cda17c..cd886cd0 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -351,6 +351,12 @@ bool container_is_floating_or_child(struct sway_container *container); | |||
351 | */ | 351 | */ |
352 | bool container_is_fullscreen_or_child(struct sway_container *container); | 352 | bool container_is_fullscreen_or_child(struct sway_container *container); |
353 | 353 | ||
354 | /** | ||
355 | * Return the output which will be used for scale purposes. | ||
356 | * This is the most recently entered output. | ||
357 | */ | ||
358 | struct sway_output *container_get_effective_output(struct sway_container *con); | ||
359 | |||
354 | void container_discover_outputs(struct sway_container *con); | 360 | void container_discover_outputs(struct sway_container *con); |
355 | 361 | ||
356 | #endif | 362 | #endif |