diff options
author | Boris Faure <billiob@gmail.com> | 2012-12-24 12:40:28 +0000 |
---|---|---|
committer | Boris Faure <billiob@gmail.com> | 2012-12-24 12:40:28 +0000 |
commit | 0cda661565bfd5090003b41ac6d6d57cf8a13b48 (patch) | |
tree | 60edaa0630b81e1bc111290f8e3df8488704fd7b | |
parent | 2948af6ebb59c53ff1ce1dd3e5fce5c4584f95a3 (diff) | |
download | enlightenment-0cda661565bfd5090003b41ac6d6d57cf8a13b48.tar.gz |
e:tiling: fix toggle_rows_count
SVN revision: 81680
-rw-r--r-- | src/modules/tiling/e_mod_tiling.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index 7141b33853..6f19f3e9eb 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -1075,17 +1075,18 @@ _toggle_rows_cols(void) _add_border(bd); } #else - int nb_stacks = _G.tinfo->conf->nb_stacks; + int nb_stacks = get_stack_count(); int pos, s; _G.tinfo->conf->use_rows = !_G.tinfo->conf->use_rows; - if (_G.tinfo->conf->use_rows) + if (_G.tinfo->conf->use_rows) { e_zone_useful_geometry_get(_G.tinfo->desk->zone, NULL, &pos, NULL, &s); - else + } else { e_zone_useful_geometry_get(_G.tinfo->desk->zone, &pos, NULL, &s, NULL); + } for (i = 0; i < nb_stacks; i++) { int size = 0; |