do not attempt to set window hidden hints on non-internal x11 windows

this causes a BadWindow error
This commit is contained in:
Mike Blumenkrantz 2017-03-17 15:08:02 -04:00
parent 84091de515
commit bd23b9c19b
1 changed files with 3 additions and 2 deletions

View File

@ -1542,8 +1542,9 @@ _e_comp_x_hide(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Windo
{
hid = EINA_TRUE;
evas_object_hide(ec->frame);
e_hints_window_hidden_set(ec);
if (!ec->internal)
if (ec->internal)
e_hints_window_hidden_set(ec);
else
{
if (ec->exe_inst && ec->exe_inst->exe)
ec->exe_inst->phony = 0;