diff options
author | 2018-09-30 13:47:35 +0200 | |
---|---|---|
committer | 2018-09-30 13:47:35 +0200 | |
commit | f1dbdce0b2cfb6a71f972dd58180337c8ad27096 (patch) | |
tree | 061fc029a12ea5edd42444a1c03176083b210bf3 /include/sway/tree/workspace.h | |
parent | Merge pull request #2728 from RedSoxFan/move-sticky-on-evac (diff) | |
parent | Update gaps documentation (diff) | |
download | sway-f1dbdce0b2cfb6a71f972dd58180337c8ad27096.tar.gz sway-f1dbdce0b2cfb6a71f972dd58180337c8ad27096.tar.zst sway-f1dbdce0b2cfb6a71f972dd58180337c8ad27096.zip |
Merge pull request #2726 from RyanDwyer/overhaul-gaps
Make gaps implementation consistent with i3-gaps
Diffstat (limited to 'include/sway/tree/workspace.h')
-rw-r--r-- | include/sway/tree/workspace.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h index c8220b39..efdae5a1 100644 --- a/include/sway/tree/workspace.h +++ b/include/sway/tree/workspace.h | |||
@@ -32,10 +32,9 @@ struct sway_workspace { | |||
32 | enum sway_container_layout layout; | 32 | enum sway_container_layout layout; |
33 | enum sway_container_layout prev_split_layout; | 33 | enum sway_container_layout prev_split_layout; |
34 | 34 | ||
35 | double current_gaps; | 35 | int current_gaps; |
36 | bool has_gaps; | 36 | int gaps_inner; |
37 | double gaps_inner; | 37 | int gaps_outer; |
38 | double gaps_outer; | ||
39 | 38 | ||
40 | struct sway_output *output; // NULL if no outputs are connected | 39 | struct sway_output *output; // NULL if no outputs are connected |
41 | list_t *floating; // struct sway_container | 40 | list_t *floating; // struct sway_container |