From c29b87c927c7555ff16f2ae2c805a3cb7bbae809 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 29 Jul 2014 01:39:34 +0100 Subject: [PATCH] Tiling: Fix handling of shelves with top orientation. This uses the newly added function that lets us get the correct geometry for all desks. Fixes T1320. --- src/modules/tiling/e_mod_tiling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index 50f431a85..95987efb3 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -419,7 +419,7 @@ _reapply_tree(void) if (_G.tinfo->tree) { - e_zone_useful_geometry_get(_G.tinfo->desk->zone, &zx, &zy, &zw, &zh); + e_zone_desk_useful_geometry_get(_G.tinfo->desk->zone, _G.tinfo->desk, &zx, &zy, &zw, &zh); tiling_window_tree_apply(_G.tinfo->tree, zx, zy, zw, zh, tiling_g.config->window_padding);