]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: check ->layout, not ->type for L_STACKED
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 14 Feb 2011 15:35:48 +0000 (16:35 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 14 Feb 2011 15:35:48 +0000 (16:35 +0100)
src/x.c

diff --git a/src/x.c b/src/x.c
index 0e310a5265f48ad9ec3aeebd98f60a9f3b71ab5e..d35c8c6a4d35859ee20e7cae9b3d9ced9269c4f4 100644 (file)
--- 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)