mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
use arrange_children_of instead of view_autoconfigure
This commit is contained in:
parent
28c69ad145
commit
95258cf442
1 changed files with 3 additions and 3 deletions
|
|
@ -716,23 +716,23 @@ static void render_container_tabbed(struct sway_output *output,
|
||||||
child, colors, title_texture, i);
|
child, colors, title_texture, i);
|
||||||
child->sway_view->border = border_type;
|
child->sway_view->border = border_type;
|
||||||
child->sway_view->border_thickness = border_thickness;
|
child->sway_view->border_thickness = border_thickness;
|
||||||
view_autoconfigure(child->sway_view);
|
|
||||||
} else if (border_type == B_PIXEL) {
|
} else if (border_type == B_PIXEL) {
|
||||||
render_container_tabbed_border_pixel(output, damage,
|
render_container_tabbed_border_pixel(output, damage,
|
||||||
child, colors, i);
|
child, colors, i);
|
||||||
child->sway_view->border = border_type;
|
child->sway_view->border = border_type;
|
||||||
child->sway_view->border_thickness = border_thickness;
|
child->sway_view->border_thickness = border_thickness;
|
||||||
view_autoconfigure(child->sway_view);
|
|
||||||
} else {
|
} else {
|
||||||
child->sway_view->border = border_type;
|
child->sway_view->border = border_type;
|
||||||
child->sway_view->border_thickness = border_thickness;
|
child->sway_view->border_thickness = border_thickness;
|
||||||
view_autoconfigure(child->sway_view);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
render_container(output, damage, child,
|
render_container(output, damage, child,
|
||||||
parent_focused || focus == child);
|
parent_focused || focus == child);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
arrange_children_of(con);
|
||||||
|
|
||||||
if (active_child) {
|
if (active_child) {
|
||||||
render_container_border_outline_normal(output, damage, active_child,
|
render_container_border_outline_normal(output, damage, active_child,
|
||||||
focused_colors);
|
focused_colors);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue