When e calls evas_object_resize, then _e_comp_intercept_resize is called.
In this callback function, if the window is not ready to be resized for
various reasons (such as not yet visible), we should call e_client_size_set
to update ec's size only if the current ec's size and new size are different.
We don't check the maximize state of window because the window size may
change depending on the maximize type.
Change-Id: Ib1b60c532f0f34b84e791b7d75b04e8f8c843713
if (cw->ec->new_client || (!cw->ec->visible) || (!cw->effect_obj))
{
/* do nothing until client idler loops */
if (cw->ec->new_client || (!cw->ec->visible) || (!cw->effect_obj))
{
/* do nothing until client idler loops */
- if (!cw->ec->maximized && (cw->ec->w != w || cw->ec->h != h))
+ if ((cw->ec->w != w) || (cw->ec->h != h))
{
e_client_size_set(cw->ec, w, h);
cw->ec->changes.size = 1;
{
e_client_size_set(cw->ec, w, h);
cw->ec->changes.size = 1;