forked from enlightenment/enlightenment
do not attempt to set window hidden hints on non-internal x11 windows
this causes a BadWindow error
This commit is contained in:
parent
58b66048f1
commit
e2be96901e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue