diff options
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r-- | sway/desktop/render.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index b5a10370..b52dd196 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c | |||
@@ -660,7 +660,7 @@ static void render_container_tabbed(struct sway_output *output, | |||
660 | pstate->swayc_width - width_gap_adjustment - tab_width * i; | 660 | pstate->swayc_width - width_gap_adjustment - tab_width * i; |
661 | } | 661 | } |
662 | 662 | ||
663 | render_titlebar(output, damage, child, x, cstate->swayc_y, tab_width, | 663 | render_titlebar(output, damage, child, x, pstate->swayc_y, tab_width, |
664 | colors, title_texture, marks_texture); | 664 | colors, title_texture, marks_texture); |
665 | 665 | ||
666 | if (child == current) { | 666 | if (child == current) { |
@@ -721,9 +721,9 @@ static void render_container_stacked(struct sway_output *output, | |||
721 | marks_texture = view ? view->marks_unfocused : NULL; | 721 | marks_texture = view ? view->marks_unfocused : NULL; |
722 | } | 722 | } |
723 | 723 | ||
724 | int y = cstate->swayc_y + titlebar_height * i; | 724 | int y = pstate->swayc_y + titlebar_height * i; |
725 | render_titlebar(output, damage, child, cstate->swayc_x, y, | 725 | render_titlebar(output, damage, child, pstate->swayc_x, y, |
726 | cstate->swayc_width, colors, title_texture, marks_texture); | 726 | pstate->swayc_width, colors, title_texture, marks_texture); |
727 | 727 | ||
728 | if (child == current) { | 728 | if (child == current) { |
729 | current_colors = colors; | 729 | current_colors = colors; |