handle shaded state when receiving x11 configure requests

previously this would resize the window without unshading it, leading to
a confusing state for the window and the user
This commit is contained in:
Mike Blumenkrantz 2016-05-31 12:31:50 -04:00
parent 68c93a1adf
commit 859b1b989f
1 changed files with 1 additions and 1 deletions

View File

@ -1749,7 +1749,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore
if (resize && (!ec->lock_client_size) && (move || ((!ec->maximized) && (!ec->fullscreen))))
{
if ((ec->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE)
if (ec->shaded || ((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 if (!ec->maximize_override)
{