aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-20 10:37:52 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-20 10:37:52 +1000
commite1955c5c08d4131fd5d3e2a91ec8af05c3117eca (patch)
tree34ada4f6dfb4362aa37e6221f01a0561cc43a569 /include/sway/tree/container.h
parentClean up tracked outputs when an output is destroyed (diff)
downloadsway-e1955c5c08d4131fd5d3e2a91ec8af05c3117eca.tar.gz
sway-e1955c5c08d4131fd5d3e2a91ec8af05c3117eca.tar.zst
sway-e1955c5c08d4131fd5d3e2a91ec8af05c3117eca.zip
Fix crash when adding output
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h6
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 */
352bool container_is_fullscreen_or_child(struct sway_container *container); 352bool 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 */
358struct sway_output *container_get_effective_output(struct sway_container *con);
359
354void container_discover_outputs(struct sway_container *con); 360void container_discover_outputs(struct sway_container *con);
355 361
356#endif 362#endif