From: Tom Hacohen Date: Thu, 20 Feb 2014 14:29:44 +0000 (+0000) Subject: Tiling2: Only restore maximized if different than current. X-Git-Tag: upstream/0.19.99~1498^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=249def581be742e0b5e0a84c93f6e0deaf191660;p=platform%2Fupstream%2Fenlightenment.git Tiling2: Only restore maximized if different than current. --- diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index 51d68a0..ff4bc1a 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -273,7 +273,7 @@ _restore_client(E_Client *ec) _e_client_move_resize(ec, extra->orig.geom.x, extra->orig.geom.y, extra->orig.geom.w, extra->orig.geom.h); - if (extra->orig.maximized) + if (extra->orig.maximized != ec->maximized) { e_client_maximize(ec, extra->orig.maximized); ec->maximized = extra->orig.maximized;