From: Michael Stapelberg Date: Mon, 14 Feb 2011 15:35:48 +0000 (+0100) Subject: Bugfix: check ->layout, not ->type for L_STACKED X-Git-Tag: tree-pr2~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b800555161bdc5d14c3d28108d857bb70b4c828d;p=i3%2Fi3 Bugfix: check ->layout, not ->type for L_STACKED --- diff --git a/src/x.c b/src/x.c index 0e310a52..d35c8c6a 100644 --- a/src/x.c +++ b/src/x.c @@ -337,7 +337,7 @@ void x_draw_decoration(Con *con) { int indent_level = 0, indent_mult = 0; Con *il_parent = con->parent; - if (il_parent->type != L_STACKED) { + if (il_parent->layout != L_STACKED) { while (1) { DLOG("il_parent = %p, layout = %d\n", il_parent, il_parent->layout); if (il_parent->layout == L_STACKED)