diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-21 19:52:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 19:52:08 -0400 |
commit | 9731d080bea58fee78bd52bb5633cb37ec7edc22 (patch) | |
tree | 7fbc2b11fc371cdec7ed1b5cdbeb2224d429cace /include/sway | |
parent | 8bbf78fdd430a7e315356ebeda36adbf48b8953d (diff) | |
parent | 4de137e02161ef8188775d50fe5dc8d9e9bb2216 (diff) |
Merge pull request #2015 from RyanDwyer/stacked-layout
Implement stacked layout
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/tree/container.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 598a4f3d..493c70e2 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -11,6 +11,12 @@ extern struct sway_container root_container; struct sway_view; struct sway_seat; +#define TITLEBAR_BORDER_THICKNESS 1 + +// Padding includes titlebar border +#define TITLEBAR_H_PADDING 3 +#define TITLEBAR_V_PADDING 4 + /** * Different kinds of containers. * @@ -212,4 +218,9 @@ void container_calculate_title_height(struct sway_container *container); void container_notify_child_title_changed(struct sway_container *container); +/** + * Return the height of a regular title bar. + */ +size_t container_titlebar_height(void); + #endif |