summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-01-16 12:39:12 +0000
committerTom Hacohen <tom@stosb.com>2014-01-30 15:22:01 +0000
commita89411a4feee0626f236799de210f0117492d130 (patch)
treec0e76931dfdb28265db8c25cac48ae3d7574f20e
parent8a036700000039be64e5b8c432b5a67cabac969a (diff)
downloadenlightenment-a89411a4feee0626f236799de210f0117492d130.tar.gz
Tiling2: if can't find the parent, pass NULL, not the root.
-rw-r--r--src/modules/tiling2/e_mod_tiling.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/tiling2/e_mod_tiling.c b/src/modules/tiling2/e_mod_tiling.c
index 36bd71e427..3534ffad29 100644
--- a/src/modules/tiling2/e_mod_tiling.c
+++ b/src/modules/tiling2/e_mod_tiling.c
@@ -472,7 +472,6 @@ _add_client(E_Client *ec)
ERR("Couldn't find tree item for focused client %p. Using root..",
e_client_focused_get());
}
- parent = _G.tinfo->tree;
}
_G.tinfo->tree = tiling_window_tree_add(_G.tinfo->tree, parent, ec, _G.split_type);