ensure that client eval correctly handles retries on visibility-pending clients

ref 2854352bc8
fix T3636
This commit is contained in:
Mike Blumenkrantz 2016-05-13 11:24:08 -04:00
parent 57f7f4f5e0
commit 9005332468
1 changed files with 6 additions and 3 deletions

View File

@ -2102,13 +2102,16 @@ _e_client_eval(E_Client *ec)
e_object_ref(E_OBJECT(ec->cur_mouse_action));
ec->cur_mouse_action->func.go(E_OBJECT(ec), NULL);
}
if (evas_object_visible_get(ec->frame))
{
if (e_config->border_raise_on_mouse_action)
evas_object_raise(ec->frame);
evas_object_focus_set(ec->frame, 1);
ec->changes.visible = 0;
rem_change = 1;
_e_client_event_simple(ec, E_EVENT_CLIENT_SHOW);
}
ec->changes.visible = 0;
rem_change = 1;
_e_client_event_simple(ec, E_EVENT_CLIENT_SHOW);
}
else if ((ec->changes.visible) && (ec->new_client))
{