summaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorTony Crisci <[email protected]>2018-04-02 19:22:10 -0400
committerTony Crisci <[email protected]>2018-04-02 19:22:10 -0400
commita89096278b3dee599d75b7e91810a354b90a0ecb (patch)
tree69bb7208e42acab112048192f3a93557c6658186 /include/sway/tree/container.h
parentd434da563239c43c5fe417ce83b23b417f2ab635 (diff)
parent64b9b4b1556c1c45273bfbe0ae1c92245414cfed (diff)
Merge branch 'wlroots' into split-containers
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index fa22ea75..464f80c4 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -70,9 +70,10 @@ struct sway_container {
enum sway_container_layout prev_layout;
enum sway_container_layout workspace_layout;
- // TODO convert to layout coordinates
+ // For C_ROOT, this has no meaning
+ // For C_OUTPUT, this is the output position in layout coordinates
+ // For other types, this is the position in output-local coordinates
double x, y;
-
// does not include borders or gaps.
double width, height;