mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
fix incorrect comments
This commit is contained in:
parent
da0c25bc9d
commit
d39c594f30
1 changed files with 2 additions and 2 deletions
|
|
@ -462,7 +462,7 @@ static void render_container_top_tabbed_border_normal(struct sway_output *output
|
||||||
wlr_render_rect(renderer, &box, color,
|
wlr_render_rect(renderer, &box, color,
|
||||||
output->wlr_output->transform_matrix);
|
output->wlr_output->transform_matrix);
|
||||||
|
|
||||||
// Single pixel wide vertical line tab separator on the left
|
// Tab separator on the left
|
||||||
box.x = con->x + depth * tab_width;
|
box.x = con->x + depth * tab_width;
|
||||||
box.y = con->y + 1;
|
box.y = con->y + 1;
|
||||||
box.width = con->sway_view->border_thickness;
|
box.width = con->sway_view->border_thickness;
|
||||||
|
|
@ -471,7 +471,7 @@ static void render_container_top_tabbed_border_normal(struct sway_output *output
|
||||||
wlr_render_rect(renderer, &box, color,
|
wlr_render_rect(renderer, &box, color,
|
||||||
output->wlr_output->transform_matrix);
|
output->wlr_output->transform_matrix);
|
||||||
|
|
||||||
// Single pixel wide verticl line tab separator on the right
|
// Tab separator on the right
|
||||||
box.x = con->x + (depth + 1) * tab_width - con->sway_view->border_thickness;
|
box.x = con->x + (depth + 1) * tab_width - con->sway_view->border_thickness;
|
||||||
box.y = con->y + 1;
|
box.y = con->y + 1;
|
||||||
box.width = con->sway_view->border_thickness;
|
box.width = con->sway_view->border_thickness;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue