Bugfix: Don’t raise the stacked/tabbed decoration when border != BS_NONE and children == 1 (Thanks smartass)
Otherwise a black area would cover the top of the child window.
This commit is contained in:
parent
036ecba1d1
commit
5555c0fd3b
11
src/render.c
11
src/render.c
|
@ -345,11 +345,12 @@ void render_con(Con *con, bool render_fullscreen) {
|
||||||
render_con(child, false);
|
render_con(child, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Raise the stack con itself. This will put the stack decoration on
|
if (children != 1)
|
||||||
* top of every stack window. That way, when a new window is opened in
|
/* Raise the stack con itself. This will put the stack decoration on
|
||||||
* the stack, the old window will not obscure part of the decoration
|
* top of every stack window. That way, when a new window is opened in
|
||||||
* (it’s unmapped afterwards). */
|
* the stack, the old window will not obscure part of the decoration
|
||||||
x_raise_con(con);
|
* (it’s unmapped afterwards). */
|
||||||
|
x_raise_con(con);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue