diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-06 15:57:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-06 15:57:57 -0400 |
commit | 656ef558a2a8d55cf77cbcc8ce01c861cb78ac97 (patch) | |
tree | 243104969dc80855d313faf5a0d360dd5508dc52 /include/sway/tree/container.h | |
parent | d447460c0153a76a0bc484bb9866cef658b3102f (diff) | |
parent | 764489e73760534d49760af123cae46109564e86 (diff) | |
download | sway-656ef558a2a8d55cf77cbcc8ce01c861cb78ac97.tar.xz |
Merge pull request #1757 from swaywm/boooooooxes
Break everything^W^WUse wlr_box for sway_container
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 4c60530f..e7a071be 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -68,12 +68,10 @@ struct sway_container { enum sway_container_layout prev_layout; enum sway_container_layout workspace_layout; - // 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; + // For C_ROOT, this is the extents of the whole layout box. + // For C_OUTPUT, this is the output position in layout coordinates. + // For other types, this is the position in output-local coordinates. + struct wlr_box box; list_t *children; |