Bugfix: check ->layout, not ->type for L_STACKED
This commit is contained in:
parent
305eac0e71
commit
b800555161
2
src/x.c
2
src/x.c
|
@ -337,7 +337,7 @@ void x_draw_decoration(Con *con) {
|
||||||
int indent_level = 0,
|
int indent_level = 0,
|
||||||
indent_mult = 0;
|
indent_mult = 0;
|
||||||
Con *il_parent = con->parent;
|
Con *il_parent = con->parent;
|
||||||
if (il_parent->type != L_STACKED) {
|
if (il_parent->layout != L_STACKED) {
|
||||||
while (1) {
|
while (1) {
|
||||||
DLOG("il_parent = %p, layout = %d\n", il_parent, il_parent->layout);
|
DLOG("il_parent = %p, layout = %d\n", il_parent, il_parent->layout);
|
||||||
if (il_parent->layout == L_STACKED)
|
if (il_parent->layout == L_STACKED)
|
||||||
|
|
Loading…
Reference in New Issue