From 114eb6d6ae903867103da8401edb78c8d13e0739 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sat, 15 Dec 2012 18:06:39 +0000 Subject: [PATCH] e:tiling: tiled windows shouldn't get maximised by users Refs: #1996 SVN revision: 81027 --- src/modules/tiling/e_mod_tiling.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index f41fbcf3e..bede1e664 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -3656,7 +3656,7 @@ static void _move_or_resize(E_Border *bd) bool changed = false; if (_G.tinfo->conf->use_rows) { - if (stack > 0 && bd->maximized & E_MAXIMIZE_VERTICAL) { + if (bd->maximized & E_MAXIMIZE_VERTICAL) { _e_border_unmaximize(bd, E_MAXIMIZE_VERTICAL); _e_border_move_resize(bd, extra->expected.x, @@ -3676,7 +3676,7 @@ static void _move_or_resize(E_Border *bd) changed = true; } } else { - if (stack > 0 && bd->maximized & E_MAXIMIZE_HORIZONTAL) { + if (bd->maximized & E_MAXIMIZE_HORIZONTAL) { _e_border_unmaximize(bd, E_MAXIMIZE_HORIZONTAL); _e_border_move_resize(bd, extra->expected.x,