summaryrefslogtreecommitdiffstats
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
authorLibravatar russ morris <russ@infocyte.com>2018-07-10 20:24:57 -0700
committerLibravatar russ morris <russ@infocyte.com>2018-07-10 20:24:57 -0700
commitb9d8ecc548e7ed6467660aa4a4cd658c702955b9 (patch)
treec3556b9ec1f4a3b4542c993b9c09080d2b7a445b /sway/desktop/render.c
parentfix tabbed titlebar widths (diff)
downloadsway-b9d8ecc548e7ed6467660aa4a4cd658c702955b9.tar.gz
sway-b9d8ecc548e7ed6467660aa4a4cd658c702955b9.tar.zst
sway-b9d8ecc548e7ed6467660aa4a4cd658c702955b9.zip
tabs instead of spaces
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r--sway/desktop/render.c2
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