always set ec->maximize_override on unmaximize if maximize anims are enabled

this ensures that all cases of animation have the flag set
This commit is contained in:
Mike Blumenkrantz 2016-04-04 14:01:30 -04:00
parent 3f7e6dc359
commit 6617a8440c
1 changed files with 1 additions and 1 deletions

View File

@ -3906,7 +3906,7 @@ e_client_unmaximize(E_Client *ec, E_Maximize max)
_e_client_frame_update(ec);
e_hints_window_size_unset(ec);
}
else if (e_config->window_maximize_animate)
if (e_config->window_maximize_animate)
ec->maximize_override = 1;
evas_object_smart_callback_call(ec->frame, "unmaximize", NULL);
e_client_resize_limit(ec, &w, &h);