diff options
author | russ morris <russ@infocyte.com> | 2018-07-10 20:24:57 -0700 |
---|---|---|
committer | russ morris <russ@infocyte.com> | 2018-07-10 20:24:57 -0700 |
commit | b9d8ecc548e7ed6467660aa4a4cd658c702955b9 (patch) | |
tree | c3556b9ec1f4a3b4542c993b9c09080d2b7a445b | |
parent | fix tabbed titlebar widths (diff) | |
download | sway-b9d8ecc548e7ed6467660aa4a4cd658c702955b9.tar.gz sway-b9d8ecc548e7ed6467660aa4a4cd658c702955b9.tar.zst sway-b9d8ecc548e7ed6467660aa4a4cd658c702955b9.zip |
tabs instead of spaces
-rw-r--r-- | sway/desktop/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index c4646a26..9ebbe9f3 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c | |||
@@ -599,7 +599,7 @@ static void render_container_tabbed(struct sway_output *output, | |||
599 | struct border_colors *current_colors = &config->border_colors.unfocused; | 599 | struct border_colors *current_colors = &config->border_colors.unfocused; |
600 | struct sway_container_state *pstate = &con->current; | 600 | struct sway_container_state *pstate = &con->current; |
601 | 601 | ||
602 | double width_gap_adjustment = 2 * pstate->current_gaps; | 602 | double width_gap_adjustment = 2 * pstate->current_gaps; |
603 | int tab_width = (pstate->swayc_width - width_gap_adjustment) / pstate->children->length; | 603 | int tab_width = (pstate->swayc_width - width_gap_adjustment) / pstate->children->length; |
604 | 604 | ||
605 | // Render tabs | 605 | // Render tabs |