ignore x11 ConfigureRequest events when maximize_override is set

This commit is contained in:
Mike Blumenkrantz 2016-03-28 13:37:40 -04:00
parent 19eb5d2644
commit d02679383f
1 changed files with 2 additions and 2 deletions

View File

@ -1626,7 +1626,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore
ec->saved.y -= zone->y;
}
}
else
else if (!ec->maximize_override)
{
/* client is completely outside the screen, policy does not allow */
if (((!E_INTERSECTS(x, y, ec->w, ec->h, 0, 0, e_comp->w - 5, e_comp->h - 5)) &&
@ -1650,7 +1650,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore
{
if ((ec->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE)
e_comp_object_frame_wh_unadjust(ec->frame, w, h, &ec->saved.w, &ec->saved.h);
else
else if (!ec->maximize_override)
{
evas_object_resize(ec->frame, w, h);
}