diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-11-07 22:42:18 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-11-07 22:42:18 -0500 |
| commit | 3dc2460daf8c553a6f5c812b382ec46938543732 (patch) | |
| tree | a3696d7b4e32e7f7c254d06486da9140160f7a04 /include | |
| parent | 4868b4ce9d0415915ce40488f389c37922036b44 (diff) | |
gaps: remove duplicate inner gaps
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/tree/container.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 4366a010..d3155eb3 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -104,7 +104,12 @@ struct sway_container { bool border_right; // The gaps currently applied to the container. - double current_gaps; + struct { + int top; + int right; + int bottom; + int left; + } current_gaps; struct sway_workspace *workspace; // NULL when hidden in the scratchpad struct sway_container *parent; // NULL if container in root of workspace |
