aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-02 19:19:38 -0400
committerGitHub <noreply@github.com>2018-04-02 19:19:38 -0400
commit64b9b4b1556c1c45273bfbe0ae1c92245414cfed (patch)
tree380408259cba4ea6a536f64f9726d37e65c59032 /include/sway/tree/container.h
parent53aead266bb483b1aa987138a2d1658c332d0120 (diff)
parenta4a241697ae591289d7c14eff972e1ef787216e2 (diff)
downloadsway-64b9b4b1556c1c45273bfbe0ae1c92245414cfed.tar.xz
Merge pull request #1691 from emersion/view-redesign
Views redesign
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 aff2e58e..bd02197c 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;