discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=9cd6632904fe73b1e706d9fe075009629e84db76
commit 9cd6632904fe73b1e706d9fe075009629e84db76 Author: Mike Blumenkrantz <[email protected]> Date: Wed Mar 22 16:15:16 2017 -0400 adjust size for frame geometry in no-animation maximize path this is based on window size, not surface size also ignore coords if the size matches, animating just a positional change looks dumb --- src/bin/e_client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 330e258..09785c4 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -1531,7 +1531,10 @@ _e_client_maximize_run(E_Client *ec, int x, int y, int w, int h) int pw, ph; Eina_Bool disabled = EINA_FALSE; if (e_pixmap_size_get(ec->pixmap, &pw, &ph)) - disabled = (ec->x == x) && (ec->y == y) && (w == pw) && (h == ph); + { + e_comp_object_frame_wh_adjust(ec->frame, pw, ph, &pw, &ph); + disabled = (w == pw) && (h == ph); + } if ((!disabled) && e_config->window_maximize_animate && (!ec->maximize_anims_disabled) && (!starting) && (!ec->changes.need_maximize)) { --
