aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-08-20 10:37:52 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-08-20 10:37:52 +1000
commite1955c5c08d4131fd5d3e2a91ec8af05c3117eca (patch)
tree34ada4f6dfb4362aa37e6221f01a0561cc43a569 /include/sway/tree/container.h
parenta49e4b13bf16bda8f1877272e04935329bb682c2 (diff)
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);
*/
bool container_is_fullscreen_or_child(struct sway_container *container);
+/**
+ * Return the output which will be used for scale purposes.
+ * This is the most recently entered output.
+ */
+struct sway_output *container_get_effective_output(struct sway_container *con);
+
void container_discover_outputs(struct sway_container *con);
#endif