do not pop pointer types on client hide events if the client is pass_events

these clients cannot receive events and thus have no pointer to pop
This commit is contained in:
Mike Blumenkrantz 2016-12-02 10:50:21 -05:00
parent 4aba7e7beb
commit 647e998b72
1 changed files with 2 additions and 1 deletions

View File

@ -1399,7 +1399,8 @@ _e_client_cb_evas_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
if (e_object_is_del(data)) return; //client is about to die
_e_client_mouse_action_end(ec);
if (action_client == ec) _e_client_action_finish();
e_pointer_type_pop(e_comp->pointer, ec, NULL);
if (!evas_object_pass_events_get(ec->frame))
e_pointer_type_pop(e_comp->pointer, ec, NULL);
if (!ec->hidden)
{