From b800555161bdc5d14c3d28108d857bb70b4c828d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 14 Feb 2011 16:35:48 +0100 Subject: [PATCH] Bugfix: check ->layout, not ->type for L_STACKED --- src/x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5