forked from enlightenment/enlightenment
parent
e703b40073
commit
c6f0597774
|
@ -572,7 +572,6 @@ struct E_Client
|
|||
|
||||
unsigned int visible : 1; // client is set to be visible by display server (never use this)
|
||||
unsigned int hidden : 1; // set when window has been hidden by api and should not be shown
|
||||
unsigned int await_hide_event;
|
||||
unsigned int moving : 1;
|
||||
unsigned int focused : 1;
|
||||
unsigned int new_client : 1;
|
||||
|
|
|
@ -1278,18 +1278,11 @@ _e_comp_x_hide(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Windo
|
|||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
/* Don't delete hidden or iconified windows */
|
||||
if ((ec->iconic) || (ec->await_hide_event > 0))
|
||||
if (ec->iconic)
|
||||
{
|
||||
if (ec->await_hide_event > 0)
|
||||
{
|
||||
ec->await_hide_event--;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Only hide the border if it is visible */
|
||||
hid = EINA_TRUE;
|
||||
evas_object_hide(ec->frame);
|
||||
}
|
||||
/* Only hide the border if it is visible */
|
||||
hid = EINA_TRUE;
|
||||
evas_object_hide(ec->frame);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue