mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 04:54:14 +01:00
Respect view's border config for floating containers
This commit is contained in:
parent
aaba7642b3
commit
754cb7944c
@ -810,8 +810,13 @@ static void render_floating_container(struct sway_output *soutput,
|
|||||||
title_texture = con->title_unfocused;
|
title_texture = con->title_unfocused;
|
||||||
marks_texture = view->marks_unfocused;
|
marks_texture = view->marks_unfocused;
|
||||||
}
|
}
|
||||||
render_titlebar(soutput, damage, con, con->x, con->y, con->width,
|
|
||||||
colors, title_texture, marks_texture);
|
if (con->sway_view->border == B_NORMAL) {
|
||||||
|
render_titlebar(soutput, damage, con, con->x, con->y, con->width,
|
||||||
|
colors, title_texture, marks_texture);
|
||||||
|
} else {
|
||||||
|
render_top_border(soutput, damage, con, colors);
|
||||||
|
}
|
||||||
render_view(soutput, damage, con, colors);
|
render_view(soutput, damage, con, colors);
|
||||||
} else {
|
} else {
|
||||||
render_container(soutput, damage, con, false);
|
render_container(soutput, damage, con, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user