summaryrefslogtreecommitdiffstats
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
authorLibravatar russ morris <russ@infocyte.com>2018-07-10 20:57:05 -0700
committerLibravatar russ morris <russ@infocyte.com>2018-07-10 20:57:05 -0700
commit6ae1004cd16096fec1e94e26eb42b5251ab46ebb (patch)
treee1e3e13fde06961fe1095856cf3c1e2457570c5d /sway/desktop/render.c
parentfix line lengths (diff)
downloadsway-6ae1004cd16096fec1e94e26eb42b5251ab46ebb.tar.gz
sway-6ae1004cd16096fec1e94e26eb42b5251ab46ebb.tar.zst
sway-6ae1004cd16096fec1e94e26eb42b5251ab46ebb.zip
removed unnecessary parens
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 5aec49b5..28c81942 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -631,7 +631,7 @@ static void render_container_tabbed(struct sway_output *output,
631 // Make last tab use the remaining width of the parent 631 // Make last tab use the remaining width of the parent
632 if (i == pstate->children->length - 1) { 632 if (i == pstate->children->length - 1) {
633 tab_width = 633 tab_width =
634 (pstate->swayc_width - width_gap_adjustment) - tab_width * i; 634 pstate->swayc_width - width_gap_adjustment - tab_width * i;
635 } 635 }
636 636
637 render_titlebar(output, damage, child, x, cstate->swayc_y, tab_width, 637 render_titlebar(output, damage, child, x, cstate->swayc_y, tab_width,