forked from enlightenment/enlightenment
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:
parent
68c93a1adf
commit
859b1b989f
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue