allow client frame changes when switching from frame -> no frame

fix T4358
This commit is contained in:
Mike Blumenkrantz 2016-10-28 10:18:24 -04:00
parent 534bdc32f6
commit e313c3fe13
1 changed files with 4 additions and 2 deletions

View File

@ -2151,7 +2151,8 @@ _e_client_frame_update(E_Client *ec)
const char *bordername;
ec->border.changed = 0;
if (!e_comp_object_frame_allowed(ec->frame)) return;
if ((!e_comp_object_frame_allowed(ec->frame)) && (!e_comp_object_frame_exists(ec->frame)))
return;
if (ec->fullscreen || ec->borderless)
bordername = "borderless";
else if (ec->bordername)
@ -4337,7 +4338,8 @@ e_client_border_set(E_Client *ec, const char *name)
E_OBJECT_CHECK_RETURN(ec, EINA_FALSE);
E_OBJECT_TYPE_CHECK_RETURN(ec, E_CLIENT_TYPE, EINA_FALSE);
if (!e_comp_object_frame_allowed(ec->frame)) return EINA_FALSE;
if ((!e_comp_object_frame_allowed(ec->frame)) && (!e_comp_object_frame_exists(ec->frame)))
return EINA_FALSE;
if (ec->border.changed)
CRI("CALLING WHEN border.changed SET!");