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.
This commit is contained in:
Tom Hacohen 2014-07-29 01:39:34 +01:00
parent 2b90d983a3
commit c29b87c927
1 changed files with 1 additions and 1 deletions

View File

@ -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);