mirror of
https://github.com/swaywm/sway.git
synced 2025-11-19 06:59:52 -05:00
Revert "Don't unmaximize floating views"
This reverts commit 97672295ed.
This commit is contained in:
parent
53c4467573
commit
e0d0e8f840
7 changed files with 51 additions and 6 deletions
|
|
@ -645,7 +645,7 @@ static void render_container_simple(struct sway_output *output,
|
|||
if (child->sway_view->border == B_NORMAL) {
|
||||
render_titlebar(output, damage, child, child->x, child->y,
|
||||
child->width, colors, title_texture, marks_texture);
|
||||
} else {
|
||||
} else if (con->sway_view->border != B_NONE) {
|
||||
render_top_border(output, damage, child, colors);
|
||||
}
|
||||
render_view(output, damage, child, colors);
|
||||
|
|
@ -815,7 +815,7 @@ static void render_floating_container(struct sway_output *soutput,
|
|||
if (con->sway_view->border == B_NORMAL) {
|
||||
render_titlebar(soutput, damage, con, con->x, con->y, con->width,
|
||||
colors, title_texture, marks_texture);
|
||||
} else {
|
||||
} else if (con->sway_view->border != B_NONE) {
|
||||
render_top_border(soutput, damage, con, colors);
|
||||
}
|
||||
render_view(soutput, damage, con, colors);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue